From 01995d2f741a43ec50cd80eb9e64b4c8316549ea Mon Sep 17 00:00:00 2001 From: Mark Johnson <739719+virgofx@users.noreply.github.com> Date: Mon, 29 Jan 2024 11:51:48 -0800 Subject: [PATCH] Update GitHub pages workflow to include `contents: write` The peaceiris/actions-gh-pages GitHub action requires "contents:write" permission. --- .github/workflows/gh-pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 5025dce..3a38936 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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