Commit c925349c authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Update .gitlab-ci.yml

parent 625e6b6f
Pipeline #4658 passed with stage
in 7 seconds
......@@ -16,13 +16,13 @@ build:
before_script:
- pip install -r requirements.txt
script:
- make html
- sphinx-build . _build
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
artifacts:
expire_in: 1 month
paths:
- _build/html
- _build
deploy:
rules:
......@@ -36,7 +36,7 @@ deploy:
- echo "${SSH_PRIVATE_KEY}" | base64 -d | ssh-add - > /dev/null
- echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
script:
- rsync -azhv --delete _build/html/ "${SSH_USER_HOST_LOCATION}"
- rsync -azhv --delete _build/ "${SSH_USER_HOST_LOCATION}"
repo_pull_sync:
stage: pull
......
Supports Markdown
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