mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
ci: deploy to new server
This commit is contained in:
parent
e4ebf5eb80
commit
1bcd9d3607
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ packages:
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~emersion/gamja
|
- https://git.sr.ht/~emersion/gamja
|
||||||
secrets:
|
secrets:
|
||||||
- 5874ac5a-905e-4596-a117-fed1401c60ce # deploy SSH key
|
- 77c7956b-003e-44f7-bb5c-2944b2047654 # deploy SSH key
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
cd gamja
|
cd gamja
|
||||||
|
@ -16,4 +16,4 @@ tasks:
|
||||||
[ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build
|
[ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build
|
||||||
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
|
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
|
||||||
--delete --exclude=config.json \
|
--delete --exclude=config.json \
|
||||||
. deploy@kyouko.emersion.fr:/srv/http/gamja
|
. deploy@sheeta.emersion.fr:/srv/http/gamja
|
||||||
|
|
Loading…
Reference in a new issue