Skip to content
Snippets Groups Projects
Commit 1f1cbc48 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

split pipeline in 2 step build & deploy

parent 7eadf7ca
No related branches found
No related tags found
No related merge requests found
image: registry-gitlab.pasteur.fr/hub-courses/sphinx-env/sphinx:1.4.1
sphinx:
stage: build
script:
- make html
- mv build/html/ .
artifacts:
paths:
- html/
pages: pages:
stage: deploy stage: deploy
image: registry-gitlab.pasteur.fr/hub/courses/sphinx-env/sphinx:1.4.1 dependencies:
- sphinx
script: script:
- make html - mv html/ public/
- mv build/html/ public/
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment