Skip to content

Commit

Permalink
Updated deploy_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Feb 15, 2024
1 parent 1d818cf commit 67eb2ad
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand Down

0 comments on commit 67eb2ad

Please sign in to comment.