Skip to content

Commit

Permalink
🏗️ Deploy to blog.lamin.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Nov 23, 2024
1 parent 5236052 commit f6b86b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- run: pip install -U laminci
- run: pip install "laminci@git+https://@github.com/laminlabs/laminci"
- run: pip install "lndocs[blog]@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/lndocs"
# - run: nox -s lint
- run: nox -s build
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
html_title = f"{project}"
html_context["github_repo"] = "lamin-blog" # noqa

ogp_site_url = "https://lamin.ai/blog"
ogp_site_url = "https://blog.lamin.ai"
ogp_site_name = project

html_theme_options["logo"] = {
Expand Down Expand Up @@ -52,7 +52,7 @@
}
lndocs.authors = authors

blog_baseurl = "https://lamin.ai/blog"
blog_baseurl = "https://blog.lamin.ai"
blog_post_pattern = "*"
blog_authors = authors
post_date_format = "%Y-%m-%d"
Expand Down
2 changes: 0 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import nox
from laminci import move_built_docs_to_slash_project_slug
from laminci.nox import run_pre_commit

nox.options.default_venv_backend = "none"
Expand All @@ -13,4 +12,3 @@ def lint(session: nox.Session) -> None:
@nox.session
def build(session: nox.Session):
session.run(*["lndocs", "--strict"])
move_built_docs_to_slash_project_slug()

0 comments on commit f6b86b7

Please sign in to comment.