Skip to content

Commit

Permalink
Fix docs deployment (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel authored Nov 21, 2024
1 parent 3998410 commit a8118ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
path: docs/build

deploy-docs:
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
needs: build-docs
permissions:
pages: write
Expand All @@ -42,7 +43,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/deploy-pages@v4
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
jobs:
publish-github-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit a8118ab

Please sign in to comment.