feat: truly limit the deploy to master
parent
dd5aae412d
commit
247dca1182
|
@ -38,8 +38,8 @@ jobs:
|
|||
env:
|
||||
DOC_GEN_REF: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: generate and deploy docs (master only)
|
||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'leanprover/doc-gen4'
|
||||
- name: generate and deploy docs (main only)
|
||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'leanprover/doc-gen4' && github.ref_name == 'master'
|
||||
run: |
|
||||
cd ../
|
||||
./doc-gen4/deploy_docs.sh "mathlib4" "doc-gen4" "true" "LeanInk"
|
||||
|
|
Loading…
Reference in New Issue