blob: ef81e216e44a67e9ccd0cf5afe51889a5c3fbf72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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 <ben@benburwell.com>
tasks:
- deploy: |
sshopts="-o StrictHostKeyChecking=no"
rsync --rsh="ssh $sshopts" -rP $site/ bburwell@$site:/var/www/$site
|