mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-15 00:16:15 +08:00
Fix doc deploy condition for main branch
This commit is contained in:
parent
ab92191553
commit
b6248c5bc0
2
.github/workflows/doc.yml
vendored
2
.github/workflows/doc.yml
vendored
@ -37,6 +37,6 @@ jobs:
|
||||
- name: Deploy
|
||||
env:
|
||||
KEY: "${{secrets.KEY}}"
|
||||
if: env.KEY != '' && github.ref == 'refs/heads/master'
|
||||
if: env.KEY != '' && github.ref == 'refs/heads/main'
|
||||
working-directory: ${{runner.workspace}}/fmt/build/fmt.dev
|
||||
run: git push https://$KEY@github.com/fmtlib/fmt.dev.git
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user