Update _update.yml

This commit is contained in:
Aleksandr Statciuk 2022-10-27 03:34:15 +03:00
parent 7ff2239137
commit eb2ee3ff1e

View file

@ -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