Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ain-soph committed Aug 1, 2022
2 parents 53253a6 + 1a5f947 commit 9b582b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
jobs:
demo:
runs-on: ubuntu-latest
container:
image: python:3.9
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
pip install --upgrade pip
Expand All @@ -23,12 +25,12 @@ jobs:
cd ./docs/
make html
- name: Check GitHub Pages status
uses: crazy-max/ghaction-github-status@v2.2.0
uses: crazy-max/ghaction-github-status@v3.0.0
with:
pages_threshold: major_outage
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2.5.0
uses: crazy-max/ghaction-github-pages@v3.0.0
with:
target_branch: demo
build_dir: ./docs/build/html
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-python@v2
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
python-version: '3.x'
- name: Build
run: |
pip install --upgrade --no-cache-dir setuptools build
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def linkcode_resolve(domain, info):

# -- General default configuration ------------------------------------------------

needs_sphinx = '4.0.2'
needs_sphinx = '4.2.0'
templates_path = ['_templates']
source_suffix = '.rst' # ['.rst', '.md']
root_doc = 'index'
Expand Down

0 comments on commit 9b582b0

Please sign in to comment.