Adjust CI pages deployment check for forks.

This commit is contained in:
Kevin Quick 2024-02-23 10:09:03 -08:00
parent 6d47ccc888
commit 9e7f6f142d
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21

View File

@ -47,7 +47,8 @@ jobs:
-p 'python3.withPackages (pp: [pp.sphinx pp.sphinx_rtd_theme])' \
--run 'make html'
build-pages-docs:
if: github.repository == "GaloisInc/cryptol"
# Do not run this on forks:
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
# The public interface should then allow the user to browse the cryptol
# documentation at the master branch, but also the documentation associated