mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-22 18:40:05 +00:00
Don't deploy docs from a PR
This commit is contained in:
parent
2a2048a785
commit
0882bfef2a
2
.github/workflows/doc.yml
vendored
2
.github/workflows/doc.yml
vendored
@ -38,6 +38,6 @@ jobs:
|
||||
- name: Deploy
|
||||
env:
|
||||
KEY: "${{secrets.KEY}}"
|
||||
if: env.KEY != ''
|
||||
if: env.KEY != '' && github.ref == 'refs/heads/master'
|
||||
working-directory: ${{runner.workspace}}/fmt/build/fmt.dev
|
||||
run: git push https://$KEY@github.com/fmtlib/fmt.dev.git
|
||||
|
Loading…
Reference in New Issue
Block a user