Skip to content

Commit 59427db

Browse files
committed
ci: fix design-common.css and x.md file 404
1 parent 266590c commit 59427db

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/auto-deploy-site.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,14 @@ jobs:
4343
with:
4444
source: ./examples/sites/dist
4545
destination: ./_site
46-
- run: sudo chmod -R 777 ./dist
46+
- run: sudo chmod -R 777 ./_site
4747
- run: cp ./examples/sites/dist/assets/_commonjsHelpers*.js ./_site/assets
4848
- run: cp ./_site/index.html ./_site/404.html
49+
- run: sed -i 's/\/static/\/tiny-vue\/static/' ./_site/static/js/design-common.js
50+
- run: sudo apt update
51+
- run: sudo apt install -y rename
52+
- run: man rename
53+
- run: rename 's/.html/.md/' ./_site/\@demos/app/*
4954
- name: Upload artifact
5055
uses: actions/upload-pages-artifact@v3
5156

0 commit comments

Comments
 (0)