Commit d1fd34ca authored by Maximilian Sprengholz's avatar Maximilian Sprengholz 😵
Browse files

pages test

parent 356e3236
Pipeline #14832 passed with stages
in 29 seconds
......@@ -13,10 +13,8 @@ image: kenose/pandoc-python:latest
before_script:
- export DATE=$(date '+%y-%m-%d')
- echo ${DATE}
gen_docs:
stage: build
pages:
script:
- cd docs
- >-
......@@ -35,16 +33,6 @@ gen_docs:
- git commit -m "[ci skip] Built docs ${CI_COMMIT_TAG}" || echo "Nothing to commit."
- git pull --rebase http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
- git push http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
only:
- master
pages:
stage: deploy
script:
- git checkout master
- git pull --rebase http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
- ls -al docs
- cp -R -f results/figures/ public/ # copy figures
- cd docs
- mv index.html ../public/ # copy index to update
artifacts:
......
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