diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index fa360b2..9f1be5a 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -74,4 +74,11 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./next/ + publish_dir: ./next/.next + publish_branch: master # Change this to master if using the master branch for GitHub Pages + allow_empty_commit: false + keep_files: false + force_orphan: false + enable_jekyll: false + disable_nojekyll: false + exclude_assets: .github