Skip to content

Commit

Permalink
Deploy docs to gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
phausamann committed Feb 4, 2024
1 parent 770d228 commit 96a6240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,20 @@ jobs:
make -C docs/ html
make -C docs/ doctest
- name: Deploy docs on master
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
run: |
sudo mkdir /docs -m 777
touch docs/_build/html/.nojekyll
mv docs/_build/html/* /docs
git config user.name CI
git config user.email ""
git checkout -f --orphan privpage
git checkout -f --orphan gh-pages
git rm --cached -rfq .
git clean -fxdq
mv /docs/* .
git add .
git commit -qm "Update docs"
git push -f --set-upstream origin privpage
git push -f --set-upstream origin gh-pages
black:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 96a6240

Please sign in to comment.