mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54: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
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -104,4 +104,12 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user