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 - name: Deploy
env: env:
KEY: "${{secrets.KEY}}" KEY: "${{secrets.KEY}}"
if: env.KEY != '' if: env.KEY != '' && github.ref == 'refs/heads/master'
working-directory: ${{runner.workspace}}/fmt/build/fmt.dev working-directory: ${{runner.workspace}}/fmt/build/fmt.dev
run: git push https://$KEY@github.com/fmtlib/fmt.dev.git run: git push https://$KEY@github.com/fmtlib/fmt.dev.git