Add CI #13

Merged
snedadah merged 36 commits from shahanneda/add-ci into main 2022-06-26 16:14:28 -04:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit e706b22586 - Show all commits

View File

@ -55,11 +55,11 @@ steps:
depends_on:
- publish
environment:
AUTH_TOKEN:
STAGING_AUTH_TOKEN:
from_secret: STAGING_AUTH_TOKEN
commands:
- echo "The docker build tag is ${DRONE_BRANCH//\//-}"
- "curl -H \"Authorization: $AUTH_TOKEN\" https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}"
- 'curl -H "Authorization: $STAGING_AUTH_TOKEN" https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}"