fix: disable web deployment on forks (#1342)
This commit is contained in:
parent
e57c9ff4f6
commit
c72853596f
2
.github/workflows/build_web.yml
vendored
2
.github/workflows/build_web.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
name: 📃 Deploy to GitHub Pages
|
name: 📃 Deploy to GitHub Pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
if: github.ref == 'refs/heads/master'
|
if: ${{ github.ref == 'refs/heads/master' && github.event.repository.fork == false }}
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user