diff --git a/.github/workflows/react_deploy_gh-pages.yml b/.github/workflows/react_deploy_gh-pages.yml index 697950d..937d75f 100644 --- a/.github/workflows/react_deploy_gh-pages.yml +++ b/.github/workflows/react_deploy_gh-pages.yml @@ -49,12 +49,15 @@ jobs: #- name: Build # run: npm run build - - name: Gatsby - run: gatsby build + - name: Next + run: npx next build --experimental-build-mode compile + + #- name: Gatsby + # run: gatsby build - name: Deploy with gh-pages run: | git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm run deploy-public -- -u "github-actions-bot " + npm run deploy -- -u "github-actions-bot " env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}