Only run deploy_staging on main branch

amy-random-shapes
Aditya Thakral 2 years ago
parent 699a0836b4
commit 66f9d93d8e
  1. 5
      .gitlab-ci.yml

@ -43,4 +43,7 @@ deploy_staging:
stage: .post
needs: ["staging"]
script:
- 'curl -XPOST -H "Authorization: Basic $STAGING_SECRET" "https://csclub.uwaterloo.ca/$BASE_PATH"'
- 'curl -XPOST -H "Authorization: Basic $STAGING_SECRET" "https://csclub.uwaterloo.ca/$BASE_PATH"'
only:
refs:
- main
Loading…
Cancel
Save