forked from ungleich-public/cdist-contrib
Automatically deploy docs from master (at contrib.cdi.st)
This commit is contained in:
parent
cd83336322
commit
2bedbe9687
2 changed files with 12 additions and 1 deletions
|
@ -16,5 +16,16 @@ manpages:
|
|||
|
||||
docs:
|
||||
stage: doc
|
||||
only:
|
||||
- master
|
||||
before_script:
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$CD_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$CD_SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
script:
|
||||
- make docs
|
||||
- sftp fnux@staticwebhosting.ungleich.ch:public_html/cdist-contrib <<- EOF
|
||||
put -r docs/dist/html/*
|
||||
EOF
|
||||
|
|
|
@ -4,4 +4,4 @@ FROM fedora:latest
|
|||
MAINTAINER Timothée Floure <fnux@ungleich.ch>
|
||||
|
||||
RUN dnf install -y git findutils make python3-sphinx python3-sphinx_rtd_theme \
|
||||
ShellCheck
|
||||
ShellCheck openssh-clients
|
||||
|
|
Loading…
Reference in a new issue