testing deployment of docs

parent 79ce586d
image: 'squidfunk/mkdocs-material'
stages:
- build
- deploy
build:
- mkdocs build --clean
deploy:
stage: deploy
image: tetraweb/php:7.1
before_scrit:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add <(echo "$STAGING_PRIVATE_KEY")
- apt-get install rsync
script:
- ssh -p2595 phundrak@gitlab.phundrak.fr "mkdir -p /home/phundrak/www/phundrak-fr/prakda-lang"
- rsync -rav -e ssh --exclude='.git/' --exclude='.gitlab-ci.yml' --delete-excluded ./ phundrak@gitlab.phundrak.fr:/home/phundrak/www/phundrak-fr/prakda-lang
......@@ -10,4 +10,3 @@ repo_name: 'Gitlab'
site_description: 'Documentation for the PRAKDA programming language'
site_author: 'Lucien Cartier-Tilet'
copyright: 'GPL-3.0'
lang: en
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment