Use pre-built mdbook image for manual deployment
This commit is contained in:
parent
65f0ed3b4c
commit
ef79564a65
@ -51,15 +51,13 @@ pipeline:
|
|||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
deployManual:
|
deployManual:
|
||||||
image: rust:1.54.0-slim
|
image: docker.bics.ga/rei_ci/mdbook
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- develop
|
- develop
|
||||||
secrets:
|
secrets:
|
||||||
- deploy_ssh_key
|
- deploy_ssh_key
|
||||||
commands: # warning! Doesn't seem to like hashed known_hosts...
|
commands: # warning! Doesn't seem to like hashed known_hosts...
|
||||||
- cargo install -q mdbook
|
|
||||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install rsync ssh > /dev/null
|
|
||||||
- mdbook build
|
- mdbook build
|
||||||
- echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key
|
- echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key
|
||||||
- chmod u=rw,go= /tmp/rsync_key
|
- chmod u=rw,go= /tmp/rsync_key
|
||||||
|
Loading…
Reference in New Issue
Block a user