ci(build): prevent deploy for PRs from forks

This commit is contained in:
Tim 2024-09-22 08:59:33 +02:00
parent 9c0f3bfec4
commit 36f91ac9c1

View file

@ -35,6 +35,7 @@ jobs:
- name: Deploy to GitHub Pages
if: ${{ 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