Skip to content

Commit

Permalink
ci: publish doc when pr is merged
Browse files Browse the repository at this point in the history
Signed-off-by: develop-cs <[email protected]>
  • Loading branch information
develop-cs committed Dec 20, 2024
1 parent 8b35fb9 commit 5501a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
with:
path: "docs/site/"
publish:
if: success() && startsWith(github.ref, 'refs/tags')
if: success() && github.ref == 'refs/heads/main'
name: Publish doc
needs: build
permissions:
Expand Down

0 comments on commit 5501a53

Please sign in to comment.