Try to set up drone for live CI uploads
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
252d82469c
commit
f6c1079bda
11
.drone.yml
11
.drone.yml
|
@ -9,3 +9,14 @@ steps:
|
||||||
- pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm
|
- pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm
|
||||||
- cd code/compiler
|
- cd code/compiler
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
|
- name: upload-live
|
||||||
|
image: jguyomard/hugo-builder
|
||||||
|
commands:
|
||||||
|
- echo "$CUSTOM_KEY" | ssh-add -
|
||||||
|
- mkdir -p ~/.ssh
|
||||||
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
|
- hugo -D --baseUrl "http://danilafe.com:8080"
|
||||||
|
- rsync -rv -e "ssh -p 22" ./public blog-live@danilafe.com:/var/www/blog-live --checksum
|
||||||
|
environment:
|
||||||
|
CUSTOM_KEY:
|
||||||
|
from_secret: live_ssh_key
|
||||||
|
|
Loading…
Reference in New Issue
Block a user