diff --git a/.github/workflows/_update.yml b/.github/workflows/_update.yml index d54ec5fe..955bdbce 100644 --- a/.github/workflows/_update.yml +++ b/.github/workflows/_update.yml @@ -26,7 +26,8 @@ jobs: private_key: ${{ secrets.APP_PRIVATE_KEY }} - run: npm install - 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 - uses: JamesIves/github-pages-deploy-action@v4.4.1 if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} @@ -52,16 +53,14 @@ jobs: commit-message: '[Bot] Deploy to iptv-org/api' clean: false - run: npm run readme:update - - name: Commit Changes - if: ${{ !env.ACT }} + - 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 - - name: Commit Changes - if: ${{ !env.ACT }} + - if: ${{ !env.ACT }} run: | git add STATUS.md git commit -m "[Bot] Update STATUS.md"