Be more careful in running sphinx in forks

This commit is contained in:
Ayaz Salikhov
2022-12-10 09:38:22 +04:00
parent cdfd63a387
commit ae7786471c

View File

@@ -25,6 +25,7 @@ on:
jobs:
build-docs:
name: Build Sphinx Documentation
if: github.repository == 'jupyter/docker-stacks' || github.event_name != 'schedule'
runs-on: ubuntu-latest
permissions:
contents: write