Add kilt and remove watr (#479) #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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'] | |
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 . |