mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-12 05:00:50 +00:00
ci: prevent deploy for PRs from forks
This commit is contained in:
parent
e0342be6dc
commit
df1aa716d2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
# "--parrents where no error if existing, make parent directories as needed."
|
# "--parrents where no error if existing, make parent directories as needed."
|
||||||
- run: mkdir -p ./build/${{ github.head_ref || github.ref_name }}
|
- run: mkdir -p ./build/${{ github.head_ref || github.ref_name }}
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
if: github.repository == 'Stremio/stremio-web' && github.actor != 'dependabot[bot]'
|
if: github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue