mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 17:10:07 -04:00
Update auto-update.yml
This commit is contained in:
parent
8ef0baeccf
commit
3d556b8ff9
1 changed files with 11 additions and 0 deletions
11
.github/workflows/auto-update.yml
vendored
11
.github/workflows/auto-update.yml
vendored
|
@ -50,6 +50,7 @@ jobs:
|
||||||
name: .gh-pages
|
name: .gh-pages
|
||||||
path: .gh-pages/guides/${{ matrix.site }}.guide.xml
|
path: .gh-pages/guides/${{ matrix.site }}.guide.xml
|
||||||
deploy:
|
deploy:
|
||||||
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
needs: grab
|
needs: grab
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -57,6 +58,12 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
|
- name: Generate Token
|
||||||
|
uses: tibdex/github-app-token@v1
|
||||||
|
id: generate-token
|
||||||
|
with:
|
||||||
|
app_id: ${{ secrets.APP_ID }}
|
||||||
|
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.1
|
uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||||
with:
|
with:
|
||||||
|
@ -64,3 +71,7 @@ jobs:
|
||||||
folder: .gh-pages
|
folder: .gh-pages
|
||||||
target-folder: guides
|
target-folder: guides
|
||||||
clean: false
|
clean: false
|
||||||
|
token: ${{ steps.generate-token.outputs.token }}
|
||||||
|
git-config-name: iptv-bot
|
||||||
|
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||||
|
commit-message: '[Bot] Deploy to GitHub Pages'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue