Skip to content

Commit a37a686

Browse files
committed
Fix script for GH Pages deployment
1 parent 2f6a032 commit a37a686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/configure-pages@v5
3636
- name: Use production version of the framework
3737
run: |
38-
num="$(perl -i -ple '$k+= s|(\Qhttps://cdn.jsdelivr.net/npm/vue@3/dist/vue.esm-browser\E)\.js|$1.prod.js|g; END{print $k}' site/beta.html)"
38+
num="$(perl -i -ple '$k+=s|(https://cdn\.jsdelivr\.net/npm/vue\@3/dist/vue\.esm-browser)\.js|$1.prod.js|g; END{print $k}' site/beta.html)"
3939
if [[ "$num" != 1 ]]; then
4040
echo "expect 1 match, got $num matches"
4141
exit 1

0 commit comments

Comments
 (0)