Update main.yml to push the generated doc to a specific branch

This commit is contained in:
Yaacov Akiba Slama
2023-11-07 16:52:07 +02:00
committed by Yaacov Akiba Slama
parent baa365e926
commit 12bd765023

View File

@@ -105,3 +105,11 @@ jobs:
with: with:
name: book name: book
path: book path: book
- name: Push book to main-generated branch
run: |
git config --global user.name "Generator"
git config --global user.email "no-reply@breez.technology"
git add -f book
git commit -m "Generate documentation"
git push origin --force main:main-generated