blob: 315819d52015dd9b9ab48b735466a817d6aaaf3a (
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 $site:/var/www/$site
|