Pass in branch as a custom header to update the website
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Aditya Thakral 2021-08-25 00:15:12 -04:00
parent b6d0544e3e
commit 77750ce883
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ steps:
TOKEN:
from_secret: STAGING_TOKEN
commands:
- 'curl -XPOST -H "Authorization: $TOKEN" "https://csclub.uwaterloo.ca/~a3thakra/update-csc/"'
- 'curl -XPOST -H "Authorization: $TOKEN" -H "X-Branch: $DRONE_BRANCH" "https://csclub.uwaterloo.ca/~a3thakra/update-csc/"'
when:
branch:
- main