Work directly on gh-pages branch to generate the API documentation.

This commit is contained in:
grossmj 2020-10-24 16:59:55 +10:30
parent 0f154e5f29
commit dd785b61cf

View File

@ -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