Skip to content

Commit

Permalink
Updated deploy command in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tkakar committed Oct 4, 2024
1 parent 55e103b commit a9cf1f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Node.js CI

on:
push:
branches: [ "main" , "tkakar/cat-936-gh-pages-deploy"]
branches: ["tkakar/cat-936-gh-pages-deploy"]

jobs:
build:
Expand Down Expand Up @@ -33,6 +33,6 @@ jobs:
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm run deploy "github-actions-bot <[email protected]>"
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"scripts": {
"start": "docusaurus start",
"build": "docusaurus build",
"deploy": "docusaurus deploy"
"deploy": "gh-pages -d build"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit a9cf1f2

Please sign in to comment.