Commit b7fce326 authored by Antoine Mottier's avatar Antoine Mottier
Browse files

Remove dependencies of pages job on build job artifacts

`pages` job does not need `build` job artifact. Moreover, as `build` job artifacts expired almost immediately, declaring this unneeded dependency makes `pages` job fail.
parent bc6d820c
......@@ -20,8 +20,8 @@ pages:
stage: deploy
only:
- master
dependencies:
- build
# As build job artifact expired (almost) immediately we need to exclude all artifacts generated by the build job from pages job dependencies. Defining an empty array prevent pages job from download build job artifacts.
dependencies: []
script:
- mkdir -p public/download
- cd public/download && ../../gitlab-pages/bin/download-page.sh > index.html
......
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