Skip to content

Commit

Permalink
docs: fix ref. add build job
Browse files Browse the repository at this point in the history
  • Loading branch information
brycedrennan committed Sep 21, 2024
1 parent 1f0ae5f commit e83b17b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,23 @@ jobs:
name: images
path: outputs/generated/*.jpg

build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: python -m pip install -r requirements-dev.in . --upgrade
- run: mkdocs build --strict

publish-docs:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/Python/upscale.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
::: imaginairy.api.upscale.upscale
::: imaginairy.api.upscale.upscale_image

0 comments on commit e83b17b

Please sign in to comment.