We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f6a587 commit ab6f7b2Copy full SHA for ab6f7b2
1 file changed
.github/workflows/update.yml
@@ -30,9 +30,11 @@ jobs:
30
mv index.xml docs/index.xml
31
32
- name: Commit RSS update
33
+ env:
34
+ GH_PAT: ${{ secrets.GH_PAT }}
35
run: |
36
git config user.name "github-actions"
37
git config user.email "github-actions@github.com"
38
git add docs/index.xml
39
git diff --cached --quiet || git commit -m "Update RSS feed"
- git push
40
+ git push https://x-access-token:${GH_PAT}@github.com/${{ github.repository }}.git HEAD:master
0 commit comments