Added auth
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5fb3b90031
commit
0af1cbc614
|
@ -54,9 +54,12 @@ steps:
|
|||
image: node:16
|
||||
depends_on:
|
||||
- publish
|
||||
environment:
|
||||
AUTH_TOKEN:
|
||||
from_secret: STAGING_AUTH_TOKEN
|
||||
commands:
|
||||
- echo "The docker build tag is ${DRONE_BRANCH//\//-}"
|
||||
- 'curl https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}'
|
||||
- 'curl -H "Authorization: $AUTH_TOKEN" https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}'
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
## Setting up CI
|
||||
|
||||
- Follow instructions on [CSC cloud](https://docs.cloud.csclub.uwaterloo.ca/kubernetes/) to setup CI
|
||||
- Setup the repository to store your docker images on [CSC Harbour](https://docs.cloud.csclub.uwaterloo.ca/registry/)
|
Loading…
Reference in New Issue