Skip to main content
Module

x/dyr/.build.yml

Access Yr's weather API and Nominatim's API with Deno
Latest
File
image: alpine/edgepackages: - denosecrets: - 0323bc6f-a046-4b96-8496-2bac6e7ee107 - 6a295705-4fb6-451c-990c-9a12b0aa0dc2environment: dir: d-yrtriggers: - action: email condition: failure to: tim@harek.notasks: - test: | cd $dir deno test - check: | cd $dir if [ "$(git rev-parse origin/main)" != "$(git rev-parse HEAD)" ]; then \ complete-build; \ fi - new_release: | set +x export JSR_API=$(cat ~/jsr_timharek) cd $dir deno publish --allow-slow-types --token $JSR_API set -x - mirror: | cd $dir git remote add github git@github.com:timharek/d-yr.git ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts git push github main if [ "$(git describe --exact-match --tags HEAD)" ]; then \ git push --tags github; \ fi