From b76517f7157109ac1e93d71d91da39ebda6e3602 Mon Sep 17 00:00:00 2001
From: Pierre Leroux
Date: Mon, 2 Dec 2024 18:24:45 +0100
Subject: [PATCH] fix: allow gh-pages action to write
---
.github/workflows/gh-pages.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index c8910e0..2709120 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -11,9 +11,7 @@ on:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
- contents: read
- pages: write
- id-token: write
+ contents: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -58,6 +56,6 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build-demo
- publish_branch: pages # default: gh-pages
+ publish_branch: gh-pages # default: gh-pages
destination_dir: ./
enable_jekyll: true # yes for README.md
\ No newline at end of file