Skip to content

Commit

Permalink
refactor: changing the branch ref for aquarium deployments. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Oct 5, 2023
1 parent 935fe92 commit 968df5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
push:
branches:
- main
- mainnet
- sepolia
- mainnet-aquarium
- sepolia-aquarium
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -32,18 +32,18 @@ jobs:
- name: Publish coveralls report
uses: coverallsapp/github-action@master
with:
path-to-lcov: 'coverage/lcov.info'
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: 'coverage/lcov.info'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Aquarium Login
run: npm run sqd:auth
env:
SQD_API_KEY: ${{ secrets.SQD_API_KEY }}

- name: Deploy sepolia
if: github.ref == 'refs/heads/sepolia'
if: github.ref == 'refs/heads/sepolia-aquarium'
run: npm run sqd:deploy:sepolia -- --no-stream-logs --update

- name: Deploy mainnet
if: github.ref == 'refs/heads/mainnet'
if: github.ref == 'refs/heads/mainnet-aquarium'
run: npm run sqd:deploy:mainnet -- --no-stream-logs --update

0 comments on commit 968df5f

Please sign in to comment.