Skip to content

Commit

Permalink
gp examples test
Browse files Browse the repository at this point in the history
  • Loading branch information
yhattav committed Nov 10, 2024
1 parent 9872659 commit 7632efd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Examples to GitHub Pages
name: Deploy Example to GitHub Pages

on:
push:
Expand All @@ -25,17 +25,17 @@ jobs:
# Install dependencies in both root and examples directory
run: |
npm ci
cd examples
cd example
npm ci
- name: Build
# Build the examples app
# Build the example app
run: |
cd examples
cd example
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: examples/public # Changed to examples/build
folder: example/dist # Changed to example/build
branch: gh-pages
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "eslint .",
"preview": "vite preview",
"predeploy": "npm run build",
"deploy": "gh-pages -d public"
"deploy": "gh-pages -d dist"
},
"dependencies": {
"@ant-design/icons": "^5.3.0",
Expand Down

0 comments on commit 7632efd

Please sign in to comment.