~rep/anglegrinding

anglegrinding/.build.yml -rw-r--r-- 431 bytes
5d9a054crep Short homepage text 1 year, 4 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