Skip to content

Commit

Permalink
git dirty check in sg
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Oct 14, 2024
1 parent 9cf68bd commit fdc1631
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ jobs:
- run: nix develop -c graph build --network ${{ inputs.network }}
working-directory: subgraph
- run: nix develop -c goldsky login --token ${{ secrets.CI_GOLDSKY_TOKEN }}

# Check if the repo is clean before deploying.
- run: git diff --exit-code
- run: nix develop -c goldsky subgraph deploy ${{ inputs.subgraph-name }}
working-directory: subgraph

0 comments on commit fdc1631

Please sign in to comment.