mirror of https://github.com/tqdm/tqdm.git
docs: update deployment branches
This commit is contained in:
parent
a38d82c64f
commit
1f325a251d
|
@ -18,7 +18,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: ${{ github.repository }}.github.io
|
repository: ${{ github.repository }}.github.io
|
||||||
path: docs
|
path: docs
|
||||||
ref: src
|
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
@ -42,9 +41,9 @@ jobs:
|
||||||
- name: Update Docs
|
- name: Update Docs
|
||||||
run: |
|
run: |
|
||||||
pushd docs
|
pushd docs
|
||||||
git fetch --depth=1 origin master:master
|
git fetch --depth=1 origin gh-pages:gh-pages
|
||||||
git checkout master
|
git checkout gh-pages
|
||||||
git push --set-upstream origin master
|
git push --set-upstream origin gh-pages
|
||||||
git checkout -
|
git checkout -
|
||||||
make deploy
|
make deploy
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue