update auth

test-ci-2
Shahan Nedadahandeh 6 months ago
parent 6a0384e073
commit e706b22586
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
  1. 4
      .drone.yml

@ -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//\//-}"

Loading…
Cancel
Save