mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 17:10:07 -04:00
Update _load.yml
This commit is contained in:
parent
522b478ae1
commit
f1221ff20b
1 changed files with 8 additions and 6 deletions
14
.github/workflows/_load.yml
vendored
14
.github/workflows/_load.yml
vendored
|
@ -16,7 +16,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: npm run api:load
|
- run: npm run api:load
|
||||||
|
- 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: FedericoCarboni/setup-ffmpeg@v1
|
- uses: FedericoCarboni/setup-ffmpeg@v1
|
||||||
|
with:
|
||||||
|
token: ${{ steps.create-app-token.outputs.token }}
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
|
@ -27,12 +35,6 @@ jobs:
|
||||||
- run: NODE_OPTIONS=--insecure-http-parser npm run cluster:load -- --timeout=30000 --cluster-id=1
|
- run: NODE_OPTIONS=--insecure-http-parser npm run cluster:load -- --timeout=30000 --cluster-id=1
|
||||||
- run: npm run programs:save
|
- run: npm run programs:save
|
||||||
- run: npm run guides:update
|
- run: npm run guides:update
|
||||||
- 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: JamesIves/github-pages-deploy-action@4.1.1
|
- uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue