From 4c35f47e83b58950ea0873e3133ef729676011a9 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 22 Sep 2021 09:58:08 -0400
Subject: [PATCH] Switch the staging environment to use the develop branch

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6457a5e8..d6b06fae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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.
-- 
GitLab