Skip to content

Commit

Permalink
cicd(subgraph): deploy subgraph even when it wasn't a pull_request tr…
Browse files Browse the repository at this point in the history
…iggering it
  • Loading branch information
mathewmeconry committed Sep 4, 2023
1 parent b27c084 commit 01d9bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/subgraph-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare, changelog]
if: >
(github.event_name == 'workflow_dispatch') || (
needs.changelog.result == 'success' &&
contains(toJson(github.event.pull_request.labels.*.name), 'subgraph:deploy')
contains(toJson(github.event.pull_request.labels.*.name), 'subgraph:deploy'))
environment: ${{ needs.prepare.outputs.environment }}
strategy:
fail-fast: false
Expand Down

0 comments on commit 01d9bf1

Please sign in to comment.