Skip to content

Commit

Permalink
Revert sphinx build and deploy to happen on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjholland committed Jun 2, 2024
1 parent 2eb5978 commit 0af8a21
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- uses: actions/checkout@v4

Expand All @@ -37,13 +35,6 @@ jobs:
run: |
sphinx-build -b html docs/source docs/build/html
deploy:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
permissions:
contents: write
steps:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 0af8a21

Please sign in to comment.