Skip to content

Commit

Permalink
Fix docu pipeline (#333)
Browse files Browse the repository at this point in the history
There is a change in github, and that broke the pipeline.

This is a try to fix the deployment.
  • Loading branch information
m-mirz authored Feb 7, 2025
2 parents 61dd436 + 2a1caa3 commit 006535c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- master

workflow_dispatch:

jobs:
generate-reference:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -38,10 +40,16 @@ jobs:
path: ${{ github.workspace }}/reference
name: reference-cache
retention-days: 1

deploy:
runs-on: ubuntu-latest
needs: [generate-reference]

permissions:
pages: write
id-token: write
contents: write

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -81,7 +89,8 @@ jobs:
- name: Deploy page
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# keep_files: true
publish_branch: gh-pages
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

0 comments on commit 006535c

Please sign in to comment.