Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
Fix deployment step with missing permission
  • Loading branch information
piotr-grodek-dsai authored Nov 9, 2023
1 parent 38f70e6 commit a2b6b6d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions {{ cookiecutter.repo_name }}/.github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main, master]

jobs:
permissions:
contents: write
pages:
runs-on: ubuntu-latest
container: python:3.11
Expand All @@ -28,9 +30,8 @@ jobs:
- name: Build docs
run: ./build_docs.sh

# Uncomment below to deploy to GitHub Pages
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit a2b6b6d

Please sign in to comment.