Don't deploy docs from a PR

This commit is contained in:
Victor Zverovich 2024-06-15 09:42:20 -07:00
parent 2a2048a785
commit 0882bfef2a

View File

@ -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