This commit is contained in:
parent
1eaaaf1e12
commit
a52caa5648
|
@ -1,11 +1,14 @@
|
|||
---
|
||||
pipeline:
|
||||
build_deploy:
|
||||
image: deblan/devenv
|
||||
build:
|
||||
image: polinux/mkdocs
|
||||
# environment:
|
||||
# - DOCS_DIRECTORY=./
|
||||
commands:
|
||||
- mkdocs build
|
||||
deploy:
|
||||
image: eeacms/rsync
|
||||
secrets: [ssh_user_host, ssh_priv_key]
|
||||
commands:
|
||||
- pip3 install mkdocs
|
||||
- mkdocs build
|
||||
- mkdir "$HOME/.ssh"
|
||||
- echo "$SSH_PRIV_KEY" > "$HOME/.ssh/id_ed25519"
|
||||
- chmod 700 "$HOME/.ssh"
|
||||
|
|
Loading…
Reference in a new issue