Skip to content

Commit

Permalink
Added new action for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkateshRavula authored Jun 25, 2021
1 parent fbb8e03 commit b045857
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,22 @@ jobs:
- name: Run tox tests
run: tox

- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
# - name: Deploy to GitHub Pages
# if: success()
# uses: crazy-max/ghaction-github-pages@v2
# with:
# target_branch: gh-pages
# keep_history: true
# build_dir: docs/build/html/.
# env:
# GH_PAT: ${{ secrets.ONEVIEW_DEPLOY_TOKEN }}

- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
target_branch: gh-pages
keep_history: true
build_dir: docs/build/html/.
env:
GH_PAT: ${{ secrets.ONEVIEW_DEPLOY_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html/.
keep_files: true

- name: coveralls
uses: AndreMiras/coveralls-python-action@develop
Expand Down

0 comments on commit b045857

Please sign in to comment.