diff --git a/.github/workflows/cd-workflow.yml b/.github/workflows/cd-workflow.yml index 2eba135a..9b165b29 100644 --- a/.github/workflows/cd-workflow.yml +++ b/.github/workflows/cd-workflow.yml @@ -11,7 +11,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pages: write id-token: write @@ -64,6 +64,8 @@ jobs: with: target_branch: gh-pages build_dir: build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} sync-branch: runs-on: ubuntu-latest