Chore: Fix GITHUB_TOKEN permission for GitHub pages deployment (#15)

master
Henry Heino 2024-11-11 03:25:38 -08:00 committed by GitHub
parent f1361dbabe
commit 11e0bc2b7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,15 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: 'joplin-website/docs/'
Deploy:
runs-on: ubuntu-latest
needs: Main
permissions:
# Permissions needed for pages deployment. See
# https://github.com/actions/deploy-pages
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4