Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
# Add a dependency to the build job
needs: build

# Deploy only after a push to the main branch.
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
Expand All @@ -50,9 +53,6 @@ jobs:
# Specify runner + deployment step
runs-on: ubuntu-latest

# Shouldn't run when the PR comes from a fork
if: ${{ !github.event.pull_request.head.repo.fork }}

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
Loading