From 3671f6a8e88002cb2b95da49d54ce475db9c2305 Mon Sep 17 00:00:00 2001 From: emil Date: Thu, 30 Apr 2026 01:00:44 +0300 Subject: [PATCH] Fix deploy: grant write permissions and correct publish_branch input Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aeb0279..ae1594c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,6 +2,9 @@ on: push: branches: [main] +permissions: + contents: write + jobs: build-deploy: runs-on: ubuntu-latest @@ -32,7 +35,7 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - github_pages_branch: gh-pages + publish_branch: gh-pages keep_files: false force_orphan: true commit_message: Deploy Hugo site