diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 5779a806c..4f21e8241 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@v4 with: persist-credentials: false @@ -26,14 +26,12 @@ jobs: shell: bash -l {0} run: | pip install -e . - pip install jupyter-book>=0.11.3 - pip install sphinxcontrib-bibtex>=2.0.0 python -m ipykernel install --user --name=ogcore-dev cd docs jb build ./book - name: Deploy - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@v4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages # The branch the action should deploy to.