Skip to content

Commit

Permalink
Stop publish workflow earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 21, 2023
1 parent 7ca2db1 commit 63a6bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:


jobs:
test:
build-and-publish:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -31,7 +32,6 @@ jobs:
run: |
sphinx-build -M html . build
- name: Publish gh-pages
if: ${{ github.ref == 'refs/heads/main' }}
run: |
cd build/html
git init
Expand Down

0 comments on commit 63a6bfa

Please sign in to comment.