image: debian/stretch packages: - rsync sources: - https://git.sr.ht/~benburwell/howtochooseapassword.com secrets: - a77e7f76-629d-4c49-803f-f223083816f0 environment: site: howtochooseapassword.com triggers: - action: email condition: always to: Ben Burwell tasks: - deploy: | sshopts="-o StrictHostKeyChecking=no" rsync --delete --rsh="ssh $sshopts" -rP $site/src/ deploy@$site:$site