Skip to content

Commit

Permalink
chore: fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW committed Aug 10, 2023
1 parent 169f5c1 commit 003b373
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,5 @@ jobs:
env:
BASE: None
run: |
vercel --token=${{ secrets.VERCEL_TOKEN }} --prod
mv dist app
vercel --token=${{ secrets.VERCEL_TOKEN }} --prod
5 changes: 2 additions & 3 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"builds": [
{ "src": "dist/**/*", "use": "@vercel/static" }
{ "src": "app/**/*", "use": "@vercel/static" }
],
"rewrites": [
{ "source": "/(.*)", "destination": "/dist/$1" },
{ "source": "/app/(.*)", "destination": "/dist/$1" }
{ "source": "/(.*)", "destination": "/app/$1" }
]
}

0 comments on commit 003b373

Please sign in to comment.