deploy: update build secret
Pedro Lucas Porcellis porcellis@eletrotupi.com · 1 month ago
78830a223424d27399021f2e4751c2aa7a37d162 Browse filesParents
b83d542Changed files
1
Additions
+3
Deletions
-2
.build.yml
1 1
image: alpine/edge
2 2
packages:
3 3
- rsync
4 +
- hugo
4 5
sources:
5 -
- https://git.sr.ht/~porcellis/cabotia.dev
6 +
- git@git.sr.ht:~porcellis/cabotia.dev
6 7
environment:
7 8
deploy: deployer@guara.eletrotupi.com
8 9
secrets:
9 10
- eb365c2d-acc8-4f9b-977a-720bac44419c
10 11
tasks:
11 12
- deploy: |
12 13
cd cabotia.dev
13 -
rsync --rsh="ssh -o StrictHostKeyChecking=no" index.html -rP $deploy:/srv/cabotia.dev
14 +
hugo && rsync --rsh="ssh -o StrictHostKeyChecking=no" --delete public/ -rP $deploy:/srv/cabotia.dev