Skip to content

Commit

Permalink
Grant more permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jan 30, 2025
1 parent 2e83efa commit dee1b5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [ main ]
pull_request:

permissions:
contents: write

jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest
Expand All @@ -26,7 +29,7 @@ jobs:
working-directory: ${{ env.docs-directory }}
run: |
make html
- name: Archive documentation
- name: Archivei documentation
uses: actions/upload-artifact@v4
with:
name: documentation.tar.gz
Expand All @@ -38,7 +41,6 @@ jobs:
run: touch .nojekyll
# This action moves the content of `generated_docs` to the `deploy-doc-site` branch
- name: Deploy docs
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: deploy-doc-site
Expand Down

0 comments on commit dee1b5e

Please sign in to comment.