From f6b86b7ec2d4cca711f26e384bab04fc85d7bf0f Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Sat, 23 Nov 2024 16:08:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20Deploy=20to=20blog.lami?= =?UTF-8?q?n.ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- docs/conf.py | 4 ++-- noxfile.py | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d621a59..649c19a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/docs/conf.py b/docs/conf.py index 7995119..7468d71 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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"] = { @@ -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" diff --git a/noxfile.py b/noxfile.py index c182acd..49eadbe 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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" @@ -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()