17 lines
547 B
YAML
17 lines
547 B
YAML
platform: linux/arm64
|
|
|
|
pipeline:
|
|
deployManual:
|
|
image: docker.bics.ga/rei_ci/mdbook:latest-arm64
|
|
when:
|
|
branch:
|
|
- develop
|
|
secrets:
|
|
- deploy_ssh_key
|
|
commands: # warning! Doesn't seem to like hashed known_hosts...
|
|
- mdbook build
|
|
- echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key
|
|
- chmod u=rw,go= /tmp/rsync_key
|
|
- rsync -e 'ssh -i /tmp/rsync_key -o "UserKnownHostsFile ./.ci/known_hosts"' -vaz --delete ./book/ space_docs_librepush_net@sallie.librepush.net:./public/scone
|
|
- rm /tmp/rsync_key
|