diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e9dbd8..a8856a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,7 @@ jobs: run: | hexo g sed -i 's,IEJUMPIEJUMPIEJUMP,if(/*@cc_on!@*/false||(!!window.MSInputMethodContext\&\&!!document.documentMode))window.location.href="https://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href);,g' $(grep IEJUMPIEJUMPIEJUMP -rl ./public) - sed -i "s,
,
萌ICP备$MOEICP号,g" $(grep '
' -rl ./public) + sed -i -z "s,
[^<]*,
萌ICP备$MOEICP号,g" $(grep '
' -rl ./public) - name: Clean up run: | cd public