Compare commits
No commits in common. "82621d213f3bf8aa15bb1cad841a7abcaa657e67" and "83f031779f5b307ccd8e653ac79ff05655f94a9a" have entirely different histories.
82621d213f
...
83f031779f
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-docs
|
|
||||||
image: rust:bookworm
|
|
||||||
commands:
|
|
||||||
- cargo doc --release --no-deps
|
|
||||||
|
|
||||||
- name: publish-docs
|
|
||||||
image: debian:12
|
|
||||||
commands:
|
|
||||||
- apt update -y && apt install -y rsync openssh-client
|
|
||||||
- printf "Host *\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
|
||||||
- ssh-agent bash -c "ssh-add <(echo '$KEY' | base64 -d) && rsync --archive --verbose --compress --hard-links --delete-during --partial --progress ./target/doc/ root@gorb.app:/var/www/docs.gorb.app/api && ssh root@gorb.app systemctl reload caddy.service"
|
|
||||||
environment:
|
|
||||||
KEY:
|
|
||||||
from_secret: ssh_key
|
|
Loading…
Add table
Add a link
Reference in a new issue