Skip to content

Commit 71deb51

Browse files
committed
Add logs for github action
1 parent 028474e commit 71deb51

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/update.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ jobs:
3838
mkdir -p docs
3939
mv index.xml docs/index.xml
4040
41+
- uses: actions/checkout@v2
42+
with:
43+
token: ${{ secrets.GH_PAT }}
4144
- name: Commit RSS update
4245
run: |
4346
git config user.name "MisterJack49"
4447
git config user.email "misterjack49@users.noreply.github.com"
4548
git add docs/index.xml
4649
git diff --cached --quiet || git commit -m "Update RSS feed"
47-
git remote set-url origin "https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}"
48-
git remote -v
49-
git config user.name
50-
git config user.email
51-
git push "https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}" HEAD:master
50+
git push

0 commit comments

Comments
 (0)