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
271c2c5c84
commit
01d3501404
1 changed files with 16 additions and 17 deletions
33
.github/workflows/_update.yml
vendored
33
.github/workflows/_update.yml
vendored
|
@ -29,7 +29,20 @@ 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
|
||||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
- run: npm run api:update
|
||||||
|
- 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
|
||||||
|
@ -40,8 +53,8 @@ jobs:
|
||||||
commit-message: '[Bot] Update guides'
|
commit-message: '[Bot] Update guides'
|
||||||
clean: false
|
clean: false
|
||||||
force: false
|
force: false
|
||||||
- run: npm run api:update
|
- name: Deploy to iptv-org/api
|
||||||
- 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
|
||||||
|
@ -52,20 +65,6 @@ 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue