CI: fix doc upload

This commit is contained in:
Grégoire Henry 2018-07-24 21:50:02 +02:00
parent e85bdaeb14
commit b7b6f0e960

View File

@ -556,6 +556,8 @@ publish:doc:
- betanet-staging - betanet-staging
before_script: before_script:
- sudo apk add --no-cache py3-sphinx py3-sphinx_rtd_theme openssh-client rsync - sudo apk add --no-cache py3-sphinx py3-sphinx_rtd_theme openssh-client rsync
- sudo pip3 uninstall 'idna' --yes ## Fix up dependencies in alpine:3.8
- sudo pip3 install 'idna<2.7'
- sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build - sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build
- echo "${CI_PK_GITLAB_DOC}" > ~/.ssh/id_ed25519 - echo "${CI_PK_GITLAB_DOC}" > ~/.ssh/id_ed25519
- echo "${CI_KH}" > ~/.ssh/known_hosts - echo "${CI_KH}" > ~/.ssh/known_hosts