~sircmpwn/sourcehut.org

ref: 171d8842fec22667d442729036b1425e73373ec6 sourcehut.org/.build.yml -rw-r--r-- 371 bytes
171d8842Drew DeVault Minor edit to improve flow from previous change 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
image: alpine/edge
packages:
  - rsync
  - hugo
sources:
  - https://git.sr.ht/~sircmpwn/sourcehut.org
secrets:
  - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key
tasks:
- build: |
    cd sourcehut.org
    hugo
- upload: |
    cd sourcehut.org
    echo "StrictHostKeyChecking=no" >> ~/.ssh/config
    rsync -rP public/ deploy@static1.sr.ht:/var/www/sourcehut.org/