From 32f2e07cc48f801cd278df5052698bf0737e0cde Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:03:05 -0600 Subject: [PATCH 1/4] test w workflow dispatch --- .github/workflows/deploy-book.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 9520980..fc45397 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -28,6 +28,7 @@ on: required: false default: '_build/html' type: string + workflow_dispatch: jobs: deploy: From 22c17a7f9023e559ef59f8d4b2cf9518f3574e48 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:07:52 -0600 Subject: [PATCH 2/4] add inputs to workflow_dispatch --- .github/workflows/deploy-book.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index fc45397..26591c5 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -29,6 +29,32 @@ on: default: '_build/html' type: string workflow_dispatch: + inputs: + artifact_name: + description: 'Name of the artifact (zipped book) created by previous build step' + required: false + default: book-zip + type: string + destination_dir: + description: 'Path to publish to on GitHub Pages, relative to site root. We use this to deploy previews in a subdirectory.' + required: false + default: '' + type: string + is_preview: + description: 'Are we deploying a preview?' + required: false + default: 'false' + type: string + cname: + description: 'Custom domain name' + required: false + default: 'None' # This is just a flag for whether to ignore this input + type: string + publish_dir: + description: 'Publish dir for the action' + required: false + default: '_build/html' + type: string jobs: deploy: From 78ca3e342c0908f5bdc3af146c998b5ef72a0931 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:10:46 -0600 Subject: [PATCH 3/4] rm workflow dispatch --- .github/workflows/deploy-book.yaml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 26591c5..9520980 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -28,33 +28,6 @@ on: required: false default: '_build/html' type: string - workflow_dispatch: - inputs: - artifact_name: - description: 'Name of the artifact (zipped book) created by previous build step' - required: false - default: book-zip - type: string - destination_dir: - description: 'Path to publish to on GitHub Pages, relative to site root. We use this to deploy previews in a subdirectory.' - required: false - default: '' - type: string - is_preview: - description: 'Are we deploying a preview?' - required: false - default: 'false' - type: string - cname: - description: 'Custom domain name' - required: false - default: 'None' # This is just a flag for whether to ignore this input - type: string - publish_dir: - description: 'Publish dir for the action' - required: false - default: '_build/html' - type: string jobs: deploy: From 00e5beb5f3ed3f83e02d7f8c92ab1cba99536745 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Thu, 22 May 2025 09:02:08 -0600 Subject: [PATCH 4/4] pin importlib-metadata --- .github/workflows/link-checker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link-checker.yaml b/.github/workflows/link-checker.yaml index 79978a3..8ae3dee 100644 --- a/.github/workflows/link-checker.yaml +++ b/.github/workflows/link-checker.yaml @@ -49,7 +49,7 @@ jobs: miniforge-version: latest - name: Install Jupyterbook - run: conda install -c conda-forge jupyter-book + run: conda install -c conda-forge jupyter-book importlib-metadata=8.6.1 - name: Check for config file id: check_config