mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Work directly on gh-pages branch to generate the API documentation.
This commit is contained in:
parent
0f154e5f29
commit
dd785b61cf
@ -15,10 +15,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: "3.0"
|
ref: "gh-pages"
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.6
|
python-version: 3.6
|
||||||
|
- name: Merge changes from 3.0 branch
|
||||||
|
run: |
|
||||||
|
git merge 3.0 -X theirs
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
@ -37,6 +40,4 @@ jobs:
|
|||||||
git add docs
|
git add docs
|
||||||
git status
|
git status
|
||||||
git commit -m "Publish API documentation"
|
git commit -m "Publish API documentation"
|
||||||
git checkout gh-pages
|
|
||||||
git merge 3.0 -X theirs
|
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user