Skip to content

Merge pull request #283 from spiehdid/master #413

Merge pull request #283 from spiehdid/master

Merge pull request #283 from spiehdid/master #413

Workflow file for this run

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 }}
SOLANA_RPC: ${{ secrets.SOLANA_RPC }}
RSK_ARCHIVAL_RPC: ${{ secrets.RSK_ARCHIVAL_RPC }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}