Unverified Commit 7ca96efb authored by Luke Marlin's avatar Luke Marlin
Browse files

gitlab pages test

parent 02c8bc98
......@@ -32,13 +32,13 @@ package-job:
- ls -al
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file $HOME/website.tar ${PACKAGE_REGISTRY_URL}/website.tar'
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "gitlab-pages-test"'
release-job:
stage: release
tags: [redshift] # Used to prevent runner 1000i100 from picking up this stage
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "gitlab-pages-test"'
script:
- PACKAGE_VERSION="$(date +%Y.%m).${CI_PIPELINE_IID}"
- PACKAGE_REGISTRY_URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/${PACKAGE_VERSION}"
......@@ -49,7 +49,7 @@ pages:
stage: deploy
tags: [redshift]
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "gitlab-pages-test"'
script:
- echo "Publishing to Gitlab pages"
artifacts:
......
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