Skip to content

Commit

Permalink
Update permissions for the docs.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFehring committed Dec 16, 2024
1 parent 2313c74 commit 00195b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
cp -r ../${{ env.name }}/docs/build/html $branch_name
- name: Push to gh-pages
permissions:
contents: write
id: ${{ github.actor }}
if: (contains(github.ref, 'development') || contains(github.ref, 'main'))
run: |
last_commit=$(git log --pretty=format:"%an: %s")
Expand Down

0 comments on commit 00195b2

Please sign in to comment.