update patch js
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s

This commit is contained in:
2026-04-24 09:46:18 +08:00
parent 4511cf46e8
commit 84b4437b76

View File

@ -21,7 +21,9 @@ jobs:
done done
- run: npx refs-cli - run: npx refs-cli
- name: patch js path - name: patch js path
run: find dist -type f -name "*.html" -exec sed -i 's|/js/|/qrh/js/|g' {} + run: |
find dist -type f -name "*.html" -exec sed -i 's|/js/|/qrh/js/|g' {} +
find dist -type f -name "*.html" -exec sed -i 's|/data\.js|/qrh/data.js|g' {} +
- name: copy exports to www - name: copy exports to www
run: | run: |
rm -rf /var/www/qrh rm -rf /var/www/qrh