mirror of
https://github.com/iptv-org/database.git
synced 2024-11-22 02:44:10 -05:00
Update update.yml
This commit is contained in:
parent
d66a111332
commit
8c8f10f7b7
1 changed files with 1 additions and 12 deletions
13
.github/workflows/update.yml
vendored
13
.github/workflows/update.yml
vendored
|
@ -14,15 +14,4 @@ jobs:
|
||||||
app_id: ${{ secrets.APP_ID }}
|
app_id: ${{ secrets.APP_ID }}
|
||||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update --silent >> $GITHUB_OUTPUT
|
- run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update >> $GITHUB_OUTPUT
|
||||||
id: issue-process
|
|
||||||
- name: Validate Changes
|
|
||||||
run: npm run db:validate -- data/channels.csv
|
|
||||||
- name: Commit Changes
|
|
||||||
run: |
|
|
||||||
git config user.name ${{ github.actor }}
|
|
||||||
git config user.email '${{ github.actor }}@users.noreply.github.com'
|
|
||||||
git add data/channels.csv
|
|
||||||
git commit -m "[Bot] Update channels.csv" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/database/actions/runs/${{ github.run_id }}) workflow." -m "${{ steps.issue-process.outputs.OUTPUT }}" --no-verify
|
|
||||||
git status
|
|
||||||
git push
|
|
||||||
|
|
Loading…
Reference in a new issue