Update _update.yml

This commit is contained in:
Aleksandr Statciuk 2022-10-26 19:54:34 +03:00
parent 5412cf28b9
commit 05b1af7cb4

View file

@ -26,7 +26,8 @@ jobs:
private_key: ${{ secrets.APP_PRIVATE_KEY }} private_key: ${{ secrets.APP_PRIVATE_KEY }}
- run: npm install - run: npm install
- run: npm run api:load - run: npm run api:load
- run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run programs:load - if: ${{ !env.ACT }}
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 - 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' }}
@ -52,16 +53,14 @@ jobs:
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 - run: npm run readme:update
- name: Commit Changes - if: ${{ !env.ACT }}
if: ${{ !env.ACT }}
run: | run: |
git add README.md git add README.md
git commit -m "[Bot] Update README.md" git commit -m "[Bot] Update README.md"
git status git status
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }} git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
- run: npm run status:update - run: npm run status:update
- name: Commit Changes - if: ${{ !env.ACT }}
if: ${{ !env.ACT }}
run: | run: |
git add STATUS.md git add STATUS.md
git commit -m "[Bot] Update STATUS.md" git commit -m "[Bot] Update STATUS.md"