1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-14 17:42:09 +00:00
seirdy.one/.build.yml
rohan kumar 6c4c58886a
CI: deploy website to multiple locations
Create a quick shell script that can deploy to localhost, my tilde
(staging), or seirdy.one.
2020-11-03 19:52:42 -08:00

21 lines
414 B
YAML

---
image: alpine/edge
packages:
- rsync
- hugo
sources:
- https://git.sr.ht/~seirdy/seirdy.one
secrets:
- cc1eb90c-b07b-4c46-86d4-58fec41cf0e4
triggers:
- action: email
condition: always
to: Rohan Kumar <seirdy@seirdy.one>
tasks:
- build: |
cd seirdy.one
hugo
- upload: |
cd seirdy.one
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
sh ./deploy.sh seirdy.one