~rep/anglegrinding

ref: 1139964ee5bb3c54b66e666c8507cfa2c16f30ad anglegrinding/.build.yml -rw-r--r-- 431 bytes
1139964erep Use rsync --delete for deployment 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: alpine/edge
packages:
  - hugo
  - rsync
environment:
  target: rep@scribe.anglegrinding.com
  dir: /var/www/htdocs/anglegrinding/
sources:
  - https://git.sr.ht/~rep/anglegrinding
secrets:
  - 12eb4fb5-b85f-436c-9452-89d4c3d4970e
tasks:
  - build: |
      cd anglegrinding
      hugo
  - deploy: |
      cd anglegrinding
      ssh="ssh -o StrictHostKeyChecking=no"
      rsync -a --delete --rsh="$ssh" public/ $target:$dir