image: alpine/edge oauth: git.sr.ht/OBJECTS:RW git.sr.ht/REPOSITORIES:RO git.sr.ht/PROFILE:RO packages: - hut - chicken triggers: - action: email condition: failure to: dieggsy@pm.me sources: - https://depp.brause.cc/inotify.git tasks: - build: | cd pebble ./build.sh ./pebble --help - upload: | cd pebble if [ -n "$(git tag --points-at HEAD)" ]; then fullname=pebble-"$(git tag --points-at HEAD)"-"$(cc -dumpmachine)" mv pebble $fullname hut git artifact upload $fullname else echo "Nothing to build (not a tag)" fi