-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 1.09 KB
/
gamma-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Gamma Deploy
on:
# TODO: add back once we have dedicated agent?
# pull_request:
# types:
# - closed
# branches:
# - main
workflow_dispatch:
jobs:
gamma-deploy:
runs-on: ubuntu-latest
environment:
name: gamma
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Deploy Gamma to Checkly
run: npx checkly deploy --force --config=./checkly.gamma.config.ts
env:
CHECKLY_API_KEY: ${{ secrets.CHECKLY_API_KEY }}
CHECKLY_ACCOUNT_ID: ${{ secrets.CHECKLY_ACCOUNT_ID }}
PAGER_DUTY_ACCOUNT: ${{ secrets.PAGER_DUTY_ACCOUNT }}
PAGER_DUTY_SERVICE_NAME: ${{ secrets.PAGER_DUTY_SERVICE_NAME }}
PAGER_DUTY_SERVICE_KEY: ${{ secrets.PAGER_DUTY_SERVICE_KEY }}
INSTANCE_ID: ${{ secrets.INSTANCE_ID }}
SITE_URL: ${{ secrets.SITE_URL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}