-
Notifications
You must be signed in to change notification settings - Fork 351
32 lines (30 loc) · 965 Bytes
/
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
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: 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 }}
SOLANA_RPC: ${{ secrets.SOLANA_RPC }}
RSK_RPC: ${{ secrets.RSK_RPC }}