diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index c155ee188..524bd3088 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -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