mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update _update.yml
This commit is contained in:
parent
892f378459
commit
9b97ba31c7
1 changed files with 7 additions and 8 deletions
15
.github/workflows/_update.yml
vendored
15
.github/workflows/_update.yml
vendored
|
@ -8,22 +8,24 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: echo "BRANCH_NAME=$(date +'bot/auto-update-%s')" >> $GITHUB_OUTPUT
|
||||
id: create-branch-name
|
||||
- run: git config user.name 'iptv-bot[bot]'
|
||||
- run: git config user.email '84861620+iptv-bot[bot]@users.noreply.github.com'
|
||||
- run: git checkout -b ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||
- uses: actions/setup-node@v3
|
||||
if: ${{ !env.ACT }}
|
||||
with:
|
||||
node-version: 16
|
||||
cache: 'npm'
|
||||
- uses: tibdex/github-app-token@v1
|
||||
if: ${{ !env.ACT }}
|
||||
id: create-app-token
|
||||
with:
|
||||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
- uses: actions/setup-node@v3
|
||||
if: ${{ !env.ACT }}
|
||||
with:
|
||||
node-version: 16
|
||||
cache: 'npm'
|
||||
- run: npm install
|
||||
- run: npm run api:load
|
||||
- if: ${{ !env.ACT }}
|
||||
|
@ -53,9 +55,6 @@ jobs:
|
|||
commit-message: '[Bot] Deploy to iptv-org/api'
|
||||
clean: false
|
||||
- run: npm run readme:update
|
||||
- run: ls -l
|
||||
- run: git status
|
||||
- run: git branch --show-current
|
||||
- if: ${{ !env.ACT }}
|
||||
run: |
|
||||
git add README.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue