Skip to content

Commit

Permalink
Update mkdocs and github pages deploy.
Browse files Browse the repository at this point in the history
Fixing an issue with the root level of the github pages deploy not being where mkdocs expects it to be.
  • Loading branch information
UpstreamData committed Aug 27, 2024
1 parent 3a3f20d commit 94f02d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- "pyproject.toml"
- "docs/**"

env:
SITE_URL: https://upstreamdatainc.github.io/goosebit

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ repos:
hooks:
- id: trailing-whitespace
- id: check-yaml
name: check-yaml for mkdocs.yml
files: ^mkdocs\.yml$
args: [--unsafe]
- id: check-yaml
name: check-yaml for other YAML files
exclude: ^mkdocs\.yml$
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.8.0
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
repo_url: https://github.com/UpstreamDataInc/goosebit
repo_name: gooseBit
site_name: gooseBit
site_url: !ENV SITE_URL
theme:
name: material
logo: img/goosebit-logo.svg
Expand Down

0 comments on commit 94f02d7

Please sign in to comment.