Skip to content

Commit

Permalink
CI: prevent gh-pages from running if tests fail (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Jan 5, 2025
1 parent e651010 commit e9f7e6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
jobs:
pages:
runs-on: ubuntu-latest

# Only if tests have passed, not just if the tests workflow ran.
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:

- name: checkout
Expand Down

0 comments on commit e9f7e6f

Please sign in to comment.