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