diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c4e21c3f..c2055f794 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,9 +33,8 @@ jobs: # "--parrents where no error if existing, make parent directories as needed." - run: mkdir -p ./build/${{ github.head_ref || github.ref_name }} - name: Deploy to GitHub Pages - if: ${{ github.actor != 'dependabot[bot]' }} + if: github.repository == 'Stremio/stremio-web' && github.actor != 'dependabot[bot]' uses: peaceiris/actions-gh-pages@v4 - if: github.repository == 'Stremio/stremio-web' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build