exclude main branch from staging
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Max Erenberg 2021-09-09 00:53:16 -04:00
parent f7431a05f0
commit d752d51f9f
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ steps:
from_secret: STAGING_TOKEN
commands:
- 'curl -XPOST -H "Authorization: $TOKEN" -H "X-Branch: $DRONE_BRANCH" "https://csclub.uwaterloo.ca/~a3thakra/update-csc/"'
when:
branch:
exclude:
- main
- name: deploy (production)
image: node:16