Skip to content

Commit

Permalink
Run the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Sep 12, 2023
1 parent dac839b commit 3700269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Sanity Check
on:
workflow_run:
workflows: ["Build Preview"]
types:
- completed

jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
deploy-preview:
runs-on: ubuntu-latest
if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'}}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 3700269

Please sign in to comment.