From 09b84e637575951115709c399b28cd189f5d53b3 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Mon, 7 Nov 2022 16:09:28 -0500 Subject: [PATCH] Clean up and simplify template --- .github/workflows/nightly-build.yaml | 7 +------ .github/workflows/publish-book.yaml | 2 -- .github/workflows/trigger-book-build.yaml | 5 +---- .github/workflows/trigger-link-check.yaml | 5 ----- _config.yml | 2 +- 5 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index a46b60a8..8b593f63 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -11,13 +11,8 @@ jobs: uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main with: environment_name: cookbook-dev - environment_file: environment.yml - path_to_notebooks: ./ link-check: if: ${{ github.repository_owner == 'ProjectPythiaCookbooks' }} uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/link-checker.yaml@main - with: - environment_name: cookbook-dev - environment_file: environment.yml - path_to_notebooks: ./ + \ No newline at end of file diff --git a/.github/workflows/publish-book.yaml b/.github/workflows/publish-book.yaml index bc3f5a86..a8b9e759 100644 --- a/.github/workflows/publish-book.yaml +++ b/.github/workflows/publish-book.yaml @@ -12,8 +12,6 @@ jobs: uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main with: environment_name: cookbook-dev - environment_file: environment.yml - path_to_notebooks: ./ deploy: needs: build diff --git a/.github/workflows/trigger-book-build.yaml b/.github/workflows/trigger-book-build.yaml index 43ea7c16..b5e4a7f6 100644 --- a/.github/workflows/trigger-book-build.yaml +++ b/.github/workflows/trigger-book-build.yaml @@ -7,8 +7,5 @@ jobs: uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml@main with: environment_name: cookbook-dev - environment_file: environment.yml - path_to_notebooks: ./ - use_cached_environment: 'true' # This is default, not strickly needed. Set to 'false' to always build a new environment artifact_name: book-zip-${{ github.event.number }} - \ No newline at end of file + # Other input options are possible, see ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml diff --git a/.github/workflows/trigger-link-check.yaml b/.github/workflows/trigger-link-check.yaml index fc772b4d..7ea9999e 100644 --- a/.github/workflows/trigger-link-check.yaml +++ b/.github/workflows/trigger-link-check.yaml @@ -5,9 +5,4 @@ on: jobs: link-check: uses: ProjectPythiaCookbooks/cookbook-actions/.github/workflows/link-checker.yaml@main - with: - environment_name: cookbook-dev - environment_file: environment.yml - path_to_notebooks: ./ - use_cached_environment: 'true' \ No newline at end of file diff --git a/_config.yml b/_config.yml index 30be5fb9..bd137b8a 100644 --- a/_config.yml +++ b/_config.yml @@ -15,8 +15,8 @@ tags: packages: - samplepackage -# Execute the notebooks upon build execute: + # To execute notebooks via a binder instead, replace 'cache' with 'binder' execute_notebooks: cache timeout: 600 allow_errors: True