Skip to content

Commit

Permalink
Merge pull request slub#343 from stweil/deploy_doc
Browse files Browse the repository at this point in the history
[MAINTENANCE] Deploy documentation only if repository has GitHub pages
  • Loading branch information
beatrycze-volk authored Feb 26, 2025
2 parents 1c537e9 + 6e090ee commit a27ea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Add a dependency to the build job
needs: build

if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.event.repository.has_pages

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down

0 comments on commit a27ea6a

Please sign in to comment.