Skip to content

Commit

Permalink
Update react_deploy_gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-police committed Aug 18, 2024
1 parent 47cd65f commit d0b37b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/react_deploy_gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d0b37b1

Please sign in to comment.