Add auto deploys for staging

pull/171/head
Aditya Thakral 2 years ago
parent a8cae99c11
commit 1f668451a9
  1. 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…
Cancel
Save