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