first commit

This commit is contained in:
Andrew 2023-02-19 22:22:58 -06:00
parent b525699fa8
commit fbdd81413d
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,19 @@
pipeline:
build:
image: klakegg/hugo:ext-debian-ci
commands:
- hugo
deploy:
image: debian
commands:
- mkdir ~/.ssh && chmod -R 700
- apt update -y && apt install openssh-client rsync -y
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
- echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add - > /dev/null
- rsync -atv --delete --progress public/ backy@backy.cybershell.xyz:docs
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go
branches: master