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
7ff2239137
commit
eb2ee3ff1e
1 changed files with 21 additions and 23 deletions
44
.github/workflows/_update.yml
vendored
44
.github/workflows/_update.yml
vendored
|
@ -29,29 +29,7 @@ jobs:
|
|||
- if: ${{ !env.ACT }}
|
||||
run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run programs:load
|
||||
- run: npm run guides:update
|
||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: .gh-pages
|
||||
token: ${{ steps.create-app-token.outputs.token }}
|
||||
git-config-name: iptv-bot[bot]
|
||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||
commit-message: '[Bot] Update guides'
|
||||
clean: false
|
||||
force: false
|
||||
- run: npm run api:update
|
||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
repository-name: iptv-org/api
|
||||
branch: gh-pages
|
||||
folder: .api
|
||||
token: ${{ steps.create-app-token.outputs.token }}
|
||||
git-config-name: iptv-bot[bot]
|
||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||
commit-message: '[Bot] Deploy to iptv-org/api'
|
||||
clean: false
|
||||
- run: npm run readme:update
|
||||
- run: npm run status:update
|
||||
- name: Commit Changes
|
||||
|
@ -65,8 +43,28 @@ jobs:
|
|||
- name: Push to origin
|
||||
if: ${{ !env.ACT }}
|
||||
run: |
|
||||
git remote set-url origin https://github.com/iptv-org/epg.git
|
||||
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: .gh-pages
|
||||
token: ${{ steps.create-app-token.outputs.token }}
|
||||
git-config-name: iptv-bot[bot]
|
||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||
commit-message: '[Bot] Update guides'
|
||||
clean: false
|
||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
repository-name: iptv-org/api
|
||||
branch: gh-pages
|
||||
folder: .api
|
||||
token: ${{ steps.create-app-token.outputs.token }}
|
||||
git-config-name: iptv-bot[bot]
|
||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||
commit-message: '[Bot] Deploy to iptv-org/api'
|
||||
clean: false
|
||||
- uses: repo-sync/pull-request@v2
|
||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||
id: pull-request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue