Add auto deploys for staging
This commit is contained in:
parent
a8cae99c11
commit
1f668451a9
10
.drone.yml
10
.drone.yml
|
@ -30,6 +30,16 @@ steps:
|
|||
commands:
|
||||
- npm run export
|
||||
|
||||
- name: deploy (staging)
|
||||
image: node:16
|
||||
depends_on:
|
||||
- export
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: STAGING_TOKEN
|
||||
commands:
|
||||
- curl -XPOST -H "Authorization: $TOKEN" "https://csclub.uwaterloo.ca/~a3thakra/update-csc/"
|
||||
|
||||
trigger:
|
||||
event:
|
||||
exclude:
|
||||
|
|
Loading…
Reference in New Issue