Skip to content

Commit

Permalink
Update GitHub pages workflow to include contents: write
Browse files Browse the repository at this point in the history
The peaceiris/actions-gh-pages GitHub action requires
"contents:write" permission.
  • Loading branch information
virgofx committed Jan 29, 2024
1 parent e42dbb6 commit 01995d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: "GitHub Pages"

on:
push:
branches:
- main
push
# branches:
# - main

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write # Required for deploying pages
pages: write # Required for deploying pages
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 01995d2

Please sign in to comment.