Skip to content

Commit d384b18

Browse files
authored
Update build-dist.yml
1 parent a6775ba commit d384b18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-dist.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
run: |
2121
TIMESTAMP=$(date +%s)
2222
23-
sed -e "s#https://update.greasyfork.org/scripts/6158/23710/GM_config%20CN.js#http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/GM_config%20CN.js?v=$TIMESTAMP#" \
24-
-e "s#https://update.greasyfork.org/scripts/438080/1655629/pvcep_rules.js#http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_rules.js?v=$TIMESTAMP#" \
25-
-e "s#https://update.greasyfork.org/scripts/440698/1653424/pvcep_lang.js#http://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_lang.js?v=$TIMESTAMP#" \
23+
sed -e "s#https://update.greasyfork.org/scripts/6158/23710/GM_config%20CN.js#https://hoothin.github.io/UserScripts/Picviewer%20CE%2B/GM_config%20CN.js?v=$TIMESTAMP#" \
24+
-e "s#https://update.greasyfork.org/scripts/438080/1655629/pvcep_rules.js#https://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_rules.js?v=$TIMESTAMP#" \
25+
-e "s#https://update.greasyfork.org/scripts/440698/1653424/pvcep_lang.js#https://hoothin.github.io/UserScripts/Picviewer%20CE%2B/pvcep_lang.js?v=$TIMESTAMP#" \
2626
"Picviewer CE+/Picviewer CE+.user.js" > "Picviewer CE+/dist.user.js"
2727
2828
- name: Commit and push dist.user.js
@@ -31,4 +31,4 @@ jobs:
3131
git config --local user.name "hoothin-update"
3232
git add "Picviewer CE+/dist.user.js"
3333
git commit -m "chore(Picviewer CE+): Auto-generate dist.user.js with timestamp"
34-
git push https://${{ secrets.ACTION_SECRET }}@github.com/${{ github.repository }}
34+
git push https://${{ secrets.ACTION_SECRET }}@github.com/${{ github.repository }}

0 commit comments

Comments
 (0)