Skip to content

Commit

Permalink
Change permissions location
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFehring committed Dec 16, 2024
1 parent 00195b2 commit 1407e96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ env:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
actions: read
defaults:
run:
shell: bash # Default to using bash on all
Expand Down Expand Up @@ -63,9 +66,6 @@ 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 1407e96

Please sign in to comment.