Add sourcehut CI
This commit is contained in:
parent
1756e52dee
commit
487fcbfadf
1 changed files with 17 additions and 0 deletions
17
.build.yml
Normal file
17
.build.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
image: alpine/edge
|
||||
packages:
|
||||
- rsync
|
||||
- git
|
||||
- hugo
|
||||
sources:
|
||||
- https://git.sr.ht/~redstrate/redstrate.com
|
||||
secrets:
|
||||
- b748582a-5d31-4fe8-94d6-4a63035e97aa
|
||||
tasks:
|
||||
- build: |
|
||||
cd redstrate.com
|
||||
hugo --baseURL https://redstrate.com/
|
||||
- deploy: |
|
||||
cd redstrate.com
|
||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
||||
rsync -Wvr public/ deploy@ryne.moe:/var/ryne/sync/redstrate.com
|
Loading…
Add table
Reference in a new issue