Avoid unnecessary pages runs.
This commit is contained in:
parent
7f80f4c6e9
commit
92f4b3aaf8
1 changed files with 13 additions and 9 deletions
|
|
@ -55,18 +55,22 @@ publish-images:
|
||||||
test-pages:
|
test-pages:
|
||||||
stage: test
|
stage: test
|
||||||
extends: .pages-job
|
extends: .pages-job
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == "gh-pages"
|
||||||
script:
|
script:
|
||||||
- bundle exec jekyll build -d test
|
- bundle exec jekyll build -d test
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
publish-pages:
|
#publish-pages:
|
||||||
stage: publish
|
# stage: publish
|
||||||
extends: .pages-job
|
# extends: .pages-job
|
||||||
script:
|
# rules:
|
||||||
- bundle exec jekyll build -d public
|
# - if: $CI_COMMIT_BRANCH == "gh-pages"
|
||||||
artifacts:
|
# script:
|
||||||
paths:
|
# - bundle exec jekyll build -d public
|
||||||
- public
|
# artifacts:
|
||||||
environment: production
|
# paths:
|
||||||
|
# - public
|
||||||
|
# environment: production
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue