Skip to content

Commit

Permalink
修正资源问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Nov 9, 2023
1 parent bb22b48 commit d98cb14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
pnpm i
pnpm run init
pnpm run build
cp images/favicon.png dist/
- run: pnpm run build
- uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"init": "curl https://github.com/qiuxiang/ky-genshin-map/files/13302819/data.tar.gz -Lo data.tar.gz && tar xf data.tar.gz && mv dist/data* src/ && ln index.html dist/",
"init": "curl https://github.com/qiuxiang/ky-genshin-map/files/13302944/data.tar.gz -Lo data.tar.gz && tar xf data.tar.gz && mv dist/data* src/ && ln index.html dist/ && cp images/favicon.png dist/",
"uno": "unocss -o dist/uno.css 'src/**/*.tsx' index.html",
"build": "esbuild build.ts --format=cjs | node",
"dev": "esbuild build.ts --format=cjs | node - dev"
Expand Down

0 comments on commit d98cb14

Please sign in to comment.