Fix deploy stage of CI
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Olivier 'reivilibre' 2021-08-01 18:48:38 +01:00
parent fac53badfa
commit 003b277177
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
kind: pipeline
type: docker
name: default
platform:
@ -17,8 +18,8 @@ steps:
image: rust:1.53.0-slim-bullseye
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv
- cargo install --path yama
- cargo install --path datman
- cargo install -q --path yama
- cargo install -q --path datman
- python3.9 -m venv testsuite/.venv
- ./testsuite/.venv/bin/pip install -e testsuite
- cd testsuite && ./.venv/bin/green
@ -32,7 +33,8 @@ steps:
DEPLOY_SSH_KEY:
from_secret: DEPLOY_SSH_KEY
commands: # warning! Doesn't seem to like hashed known_hosts...
- cargo install mdbook
- cargo install -q mdbook
- apt-get -qq update && apt-get -yqq install rsync
- cd docs
- mdbook build
- echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key