mirror of
https://github.com/iptv-org/iptv.git
synced 2025-06-19 01:55:13 +08:00
Update update.yml
This commit is contained in:
parent
1eafd8dcfa
commit
16632d4e1f
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
@ -39,14 +39,16 @@ jobs:
|
||||
run: npm run api:generate
|
||||
- name: update readme.md
|
||||
run: npm run readme:update
|
||||
- name: update git config
|
||||
run: |
|
||||
git config user.name "iptv-bot[bot]"
|
||||
git config user.email "84861620+iptv-bot[bot]@users.noreply.github.com"
|
||||
- name: deploy to github pages
|
||||
if: ${{ !env.ACT }}
|
||||
run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run deploy
|
||||
- name: commit changes
|
||||
if: ${{ !env.ACT }}
|
||||
run: |
|
||||
git config user.name "iptv-bot[bot]"
|
||||
git config user.email "84861620+iptv-bot[bot]@users.noreply.github.com"
|
||||
git add README.md
|
||||
git commit -m "[Bot] Update README.md" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}) workflow." --no-verify
|
||||
git status
|
||||
|
Loading…
x
Reference in New Issue
Block a user