Skip to content

Commit

Permalink
Remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Apr 25, 2024
1 parent 4cd1e31 commit d61421c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Publish

on: [push]
on:
push:
branches:
- master
pull_request:

jobs:
sphinx:
Expand All @@ -16,7 +20,6 @@ jobs:
run: |
sphinx-multiversion . build
- name: Publish gh-pages
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
cd build
git init
Expand Down

0 comments on commit d61421c

Please sign in to comment.