Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndem0 committed Jun 5, 2020
1 parent 8faabbd commit 9477449
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
pre-build-command: "python -m pip install pip sphinx_rtd_theme numpy scipy GPy matplotlib -U"
docs-folder: "docs/"

- name: Commit documentation changes
run: |
git clone https://github.com/mathLab/EZyRB.git --branch gh-pages --single-branch gh-pages
cp -r docs/build/html/* gh-pages/
cd gh-pages
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update documentation" -a || true
#- name: Commit documentation changes
#run: |
#git clone https://github.com/mathLab/EZyRB.git --branch gh-pages --single-branch gh-pages
#cp -r docs/build/html/* gh-pages/
#cd gh-pages
#git config --local user.email "action@github.com"
#git config --local user.name "GitHub Action"
#git add .
#git commit -m "Update documentation" -a || true

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html

0 comments on commit 9477449

Please sign in to comment.