Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 33c97713 authored by Jason Kridner's avatar Jason Kridner
Browse files

Update .gitlab-ci.yml

parent 5d8f7029
Branches
Tags
No related merge requests found
......@@ -16,8 +16,7 @@ pages:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: always
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
stage: deploy-branch
......@@ -29,10 +28,7 @@ pages:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: never
- if: $CI_COMMIT_BRANCH
when: always
- if: ($CI_COMMIT_BRANCH && ($CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH))
pages:
stage: deploy-tag
......@@ -47,4 +43,3 @@ pages:
- public
rules:
- if: $CI_COMMIT_TAG
when: always
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