From d0b37b12f966dbe3a2f496a0aa79399796a700b6 Mon Sep 17 00:00:00 2001 From: karl-police Date: Sun, 18 Aug 2024 19:39:12 +0200 Subject: [PATCH] Update react_deploy_gh-pages.yml --- .github/workflows/react_deploy_gh-pages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 }}