Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit b4d9e3e

Browse files
committed
tweak(ci): rename step order
1 parent d3384ec commit b4d9e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dev-page.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
run: |
3939
pnpm build
4040
touch dist/.nojekyll
41+
- name: Rename script ext # to prevent MIME type conflict (don't know why it's `application/node`)
42+
run: mv dist/widget.umd.cjs dist/widget.umd.js
4143
- name: Upload artifact
4244
uses: actions/upload-pages-artifact@v3
4345
with:
@@ -51,8 +53,6 @@ jobs:
5153
runs-on: ubuntu-latest
5254
name: Deploy
5355
steps:
54-
- name: Rename script ext # to prevent MIME type conflict (don't know why it's `application/node`)
55-
run: mv widget.umd.cjs widget.umd.js
5656
- name: Deploy to GitHub Pages
5757
id: deployment
5858
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)