-
Notifications
You must be signed in to change notification settings - Fork 348
35 lines (33 loc) · 1.11 KB
/
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
name: Deploy
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Node.js
uses: actions/setup-node@v1
with:
node-version: "16"
- run: npm ci
- name: Type Check
run: npm run ts
- name: Deploy infrastructure stack
run: npm run deploy:prod
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PSQL_URL: ${{ secrets.PSQL_URL }}
PSQL_USERNAME: ${{ secrets.PSQL_USERNAME }}
PSQL_PW: ${{ secrets.PSQL_PW }}
BSC_RPC: ${{ secrets.BSC_RPC }}
CELO_RPC: ${{ secrets.CELO_RPC }}
ETHEREUM_RPC: ${{ secrets.ETHEREUM_RPC }}
OPTIMISM_RPC: ${{ secrets.OPTIMISM_RPC }}
AURORA_RPC: ${{ secrets.AURORA_RPC }}
ARBITRUM_RPC: ${{ secrets.ARBITRUM_RPC }}
RSK_ARCHIVAL_RPC: ${{ secrets.RSK_ARCHIVAL_RPC }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
ALLIUM_API_KEY: ${{ secrets.ALLIUM_API_KEY }}