From 289189d5d2e273e88f602929f8beb1ef748cc82b Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Wed, 29 Nov 2023 23:05:42 +0000 Subject: [PATCH] FIX: use book slug in cookiecutter --- {{cookiecutter.book_slug}}/.github/workflows/deploy.yml | 2 +- {{cookiecutter.book_slug}}/.gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.book_slug}}/.github/workflows/deploy.yml b/{{cookiecutter.book_slug}}/.github/workflows/deploy.yml index 59e8dc5..10a7d3b 100644 --- a/{{cookiecutter.book_slug}}/.github/workflows/deploy.yml +++ b/{{cookiecutter.book_slug}}/.github/workflows/deploy.yml @@ -38,7 +38,7 @@ jobs: # Build the book - name: Build the book run: | - jupyter-book build . + jupyter-book build {{cookiecutter.book_slug}} # Upload the book's HTML as an artifact - name: Upload artifact diff --git a/{{cookiecutter.book_slug}}/.gitlab-ci.yml b/{{cookiecutter.book_slug}}/.gitlab-ci.yml index 40201b5..de7cf0e 100644 --- a/{{cookiecutter.book_slug}}/.gitlab-ci.yml +++ b/{{cookiecutter.book_slug}}/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: python:3.7 +image: python:3.11 # Change pip's cache directory to be inside the project directory since we can # only cache local items.