diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9a855045..dd58d1b7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,8 +18,9 @@ jobs: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - uses: JamesIves/github-pages-deploy-action@4.1.1 - if: ${{ !env.ACT }} + if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} with: + repository-name: iptv-org/api branch: gh-pages folder: .gh-pages token: ${{ steps.create-app-token.outputs.token }}