Skip to content

Don't show old accounts when loading a new network (#315) #2

Don't show old accounts when loading a new network (#315)

Don't show old accounts when loading a new network (#315) #2

# naming convention: <project>/<environment>/<task>
name: subsquid aquarium deployment
on:
push:
paths:
- 'squid/**'
- '.github/workflows/deploy-squid-stage.yaml'
branches:
- main
- ci/* # run this workflow if the branch starts with "ci/""
jobs:
deploy:
strategy:
matrix:
network: ['large', 'khala']
runs-on: ubuntu-latest
defaults:
run:
working-directory: squid
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: install @subsquid/cli
run: npm install --location=global @subsquid/cli
- name: auth subsquid
run: |
sqd auth -k ${{ secrets.SUBSQUID_DEPLOYMENT_KEY }}
- name: deploy subsquid
id: deploy
run: sqd deploy -m squid-manifests/${{ matrix.network }}-squid.yaml -u .