Skip to content

Commit fe4c5d2

Browse files
committed
Fix GitHub Actions deployment: correct build directory from build to dist
1 parent 10a68f6 commit fe4c5d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
if: github.ref == 'refs/heads/main'
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
34-
publish_dir: ./build
34+
publish_dir: ./dist

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
"dev": "vite",
6060
"build": "vite build",
6161
"preview": "vite preview",
62-
"deploy": "gh-pages -d build"
62+
"deploy": "gh-pages -d dist"
6363
}
6464
}

0 commit comments

Comments
 (0)