Skip to content

Commit

Permalink
version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tekrajchhetri committed Feb 19, 2025
1 parent ba8b05a commit 230d4a7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy_docs_githubpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ on:
# paths:
# - some-subfolder/**

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install dependencies
- name: Set up Python 3.11
Expand All @@ -31,15 +30,15 @@ jobs:
python-version: 3.11

- name: Install dependencies
run: |
pip install -r docs/requirements.txt
run: |
pip install -r docs/requirements.txt
# (optional) Cache your executed notebooks between runs
# if you have config:
# execute:
# execute_notebooks: cache
- name: cache executed notebooks
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: docs/_build/.jupyter_cache
key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}
Expand All @@ -51,12 +50,11 @@ jobs:
# Upload the book's HTML as an artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3.0.1
with:
path: "docs/_build/html"

# Deploy the book's HTML to GitHub Pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

uses: actions/deploy-pages@v4

0 comments on commit 230d4a7

Please sign in to comment.