only publish on pushes to main

This commit is contained in:
Jesse de Wit
2023-11-09 19:53:57 +01:00
parent 8f068ae2b5
commit 2b3f36c44a

View File

@@ -179,6 +179,7 @@ jobs:
path: book
- name: Push book to main-generated branch
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
git config --global user.name "Generator"
git config --global user.email "no-reply@breez.technology"