Skip to content
Snippets Groups Projects
Commit b3d0842f authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'update-rules-pages-fork' into 'develop'

set rules for pages and deployment jobs to be the same (forks only)

See merge request R3/howto-cards!276
parents 26e9bd9e ee0b2a98
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,8 @@ pages: ...@@ -123,7 +123,8 @@ pages:
image: alpine:3.11.3 image: alpine:3.11.3
stage: deploy stage: deploy
rules: rules:
- if: '$CI_MERGE_REQUEST_ID && $CI_PROJECT_NAMESPACE != "R3" && $CI_PROJECT_NAMESPACE != "R3-core"' - if: '$CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_REF_NAME == "develop" && $CI_PROJECT_PATH == "R3/howto-cards"'
- if: '$CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_REF_NAME == "master" && $CI_PROJECT_PATH == "R3/howto-cards"'
script: script:
- mv processed_build public - mv processed_build public
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment