diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb9661915c9291eda91253b59f3d95953266562a..60cfeb8d9ff1ceb549ac9021a696ab9209c23aba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,28 @@ stages: script: - cd docs - make html + artifacts: + paths: + - docs/build/html build:docker: <<: *build tags: - docker image: sphinxdoc/sphinx - needs: [ ] \ No newline at end of file + needs: [ ] + +.deploy: &deploy + stage: deploy + script: + - cp -rv docs/build/html ${DEPLOY_PATH} + +deploy:prod: + <<: *deploy + tags: + - caesarvm + # only: + # - main + needs: [ "build:docker" ] + variables: + DEPLOY_PATH: "/test/wiki/docs/build/html" \ No newline at end of file