mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update _update.yml
This commit is contained in:
33
.github/workflows/_update.yml
vendored
33
.github/workflows/_update.yml
vendored
@@ -29,20 +29,7 @@ jobs:
|
|||||||
- if: ${{ !env.ACT }}
|
- if: ${{ !env.ACT }}
|
||||||
run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run programs:load
|
run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run programs:load
|
||||||
- run: npm run guides:update
|
- run: npm run guides:update
|
||||||
- run: npm run api:update
|
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||||
- run: npm run readme:update
|
|
||||||
- run: npm run status:update
|
|
||||||
- name: Commit Changes
|
|
||||||
if: ${{ !env.ACT }}
|
|
||||||
run: |
|
|
||||||
git add README.md
|
|
||||||
git commit -m "[Bot] Update README.md"
|
|
||||||
git add STATUS.md
|
|
||||||
git commit -m "[Bot] Update STATUS.md"
|
|
||||||
git status
|
|
||||||
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
|
||||||
- name: Deploy to gh-pages
|
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
@@ -53,8 +40,8 @@ jobs:
|
|||||||
commit-message: '[Bot] Update guides'
|
commit-message: '[Bot] Update guides'
|
||||||
clean: false
|
clean: false
|
||||||
force: false
|
force: false
|
||||||
- name: Deploy to iptv-org/api
|
- run: npm run api:update
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
repository-name: iptv-org/api
|
repository-name: iptv-org/api
|
||||||
@@ -65,6 +52,20 @@ jobs:
|
|||||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||||
commit-message: '[Bot] Deploy to iptv-org/api'
|
commit-message: '[Bot] Deploy to iptv-org/api'
|
||||||
clean: false
|
clean: false
|
||||||
|
- run: npm run readme:update
|
||||||
|
- if: ${{ !env.ACT }}
|
||||||
|
run: |
|
||||||
|
git add README.md
|
||||||
|
git commit -m "[Bot] Update README.md"
|
||||||
|
git status
|
||||||
|
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||||
|
- run: npm run status:update
|
||||||
|
- if: ${{ !env.ACT }}
|
||||||
|
run: |
|
||||||
|
git add STATUS.md
|
||||||
|
git commit -m "[Bot] Update STATUS.md"
|
||||||
|
git status
|
||||||
|
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||||
- uses: repo-sync/pull-request@v2
|
- uses: repo-sync/pull-request@v2
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
id: pull-request
|
id: pull-request
|
||||||
|
|||||||
Reference in New Issue
Block a user