Skip to content

Commit 53efec3

Browse files
committed
Add logs for github action
1 parent 0a55c95 commit 53efec3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/update.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ jobs:
3939
mv index.xml docs/index.xml
4040
4141
- name: Commit RSS update
42-
env:
43-
GH_PAT: ${{ secrets.GH_PAT }}
4442
run: |
45-
git config user.name 'github-actions[bot]'
46-
git config user.email 'github-actions[bot]@users.noreply.github.com'
43+
git config user.name "MisterJack49"
44+
git config user.email "misterjack49@users.noreply.github.com"
4745
git add docs/index.xml
4846
git diff --cached --quiet || git commit -m "Update RSS feed"
49-
git push "https://x-access-token:${GH_PAT}@github.com/${{ github.repository }}.git" HEAD:master
47+
git push "https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git" HEAD:master
5048

0 commit comments

Comments
 (0)