From b57a4b5f31300126a1bc4689adc159b9cc5969ca Mon Sep 17 00:00:00 2001 From: Pizofreude <108355948+pizofreude@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:37:46 +0800 Subject: [PATCH] fix: add publish_branch; publish_dir --- .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 1e01c93..e95c0da 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,8 +36,11 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} + # GitHub Pages branch to deploy + publish_branch: main # Build output to publish to the `gh-pages` branch: - publish_dir: ./build + publish_dir: ./website/build + # publish_dir: ./build # The following lines assign commit authorship to the official # GH-Actions bot for deploys to `gh-pages` branch: # https://github.com/actions/checkout/issues/13#issuecomment-724415212