Prevent deployment of docs on forked repositories
Add condition to prevent deployment of docs on forked repositories
This commit is contained in:
parent
c18904d674
commit
7029f23da9
|
|
@ -52,6 +52,8 @@ jobs:
|
||||||
path: build/site
|
path: build/site
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
# Don't run on forked repositories
|
||||||
|
if: github.event.repository.fork != true
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue