Execute the publish task only on the main branch

This commit is contained in:
Manuel Thalmann 2022-12-23 16:14:16 +01:00
parent b1ace6ceb3
commit 7ba310c7ca

View file

@ -25,3 +25,5 @@ pipeline:
github_sshkey github_sshkey
target_branch: gh-pages target_branch: gh-pages
pages_directory: ./lib/static pages_directory: ./lib/static
when:
branch: main