Skip to content

Commit 404af3e

Browse files
committed
Update build-dist.yml
1 parent 2051bd6 commit 404af3e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build-dist.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
"Picviewer CE+/Picviewer CE+.user.js" > "Picviewer CE+/dist.user.js"
2626
2727
- name: Commit and push dist.user.js
28-
uses: stefanzweifel/git-auto-commit-action@v5
29-
with:
30-
commit_message: "chore(Picviewer CE+): Auto-generate dist.user.js with timestamp"
31-
file_pattern: 'Picviewer CE+/dist.user.js'
32-
commit_user_name: GitHub Actions
33-
commit_user_email: [email protected]
34-
commit_author: GitHub Actions <[email protected]>
28+
run: |
29+
git config --local user.email "[email protected]"
30+
git config --local user.name "hoothin-update"
31+
git add Picviewer CE+/dist.user.js
32+
git commit -m "chore(Picviewer CE+): Auto-generate dist.user.js with timestamp"
33+
git push https://${{ secrets.ACTION_SECRET }}@github.com/${{ github.repository }}

0 commit comments

Comments
 (0)