Skip to content
Snippets Groups Projects
Commit 4c35f47e authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Switch the staging environment to use the develop branch

parent 7677b346
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ system-tests:
CI_COMMIT_BRANCH="$CI_COMMIT_BRANCH" \
./ci-tools/update-grid-servers "${PRIVATESTORAGEIO_SSH_DEPLOY_KEY_PATH}" "${CI_ENVIRONMENT_NAME}"
# Update the staging deployment - only on a commit to the staging branch.
# Update the staging deployment - only on a commit to the develop branch.
update-staging:
<<: *UPDATE_GRID
# https://docs.gitlab.com/ee/ci/yaml/#rules
......@@ -90,7 +90,7 @@ update-staging:
# https://docs.gitlab.com/ee/ci/yaml/index.html#rulesif
# https://docs.gitlab.com/ee/ci/jobs/job_control.html#cicd-variable-expressions
# https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
- if: '$CI_COMMIT_BRANCH == "staging"'
- if: '$CI_COMMIT_BRANCH == "develop"'
environment:
# You can find some status information about environments in GitLab at
# https://whetstone.privatestorage.io/privatestorage/PrivateStorageio/-/environments.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment