mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Update main.yml to push the generated doc to a specific branch
This commit is contained in:
committed by
Yaacov Akiba Slama
parent
baa365e926
commit
12bd765023
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -105,3 +105,11 @@ jobs:
|
||||
with:
|
||||
name: 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
|
||||
|
||||
Reference in New Issue
Block a user