mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
09d7d6c3fc
I hope this works
22 lines
411 B
YAML
22 lines
411 B
YAML
---
|
|
image: alpine/edge
|
|
packages:
|
|
- rsync
|
|
- hugo
|
|
- zopfli
|
|
sources:
|
|
- https://git.sr.ht/~seirdy/seirdy.one
|
|
secrets:
|
|
- cc1eb90c-b07b-4c46-86d4-58fec41cf0e4
|
|
triggers:
|
|
- action: email
|
|
condition: always
|
|
to: seirdy@seirdy.one
|
|
tasks:
|
|
- build: |
|
|
cd seirdy.one
|
|
hugo
|
|
- upload: |
|
|
cd seirdy.one
|
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
|
sh ./deploy.sh seirdy.one
|