Skip to content

Commit

Permalink
Merge pull request #96 from brian-rose/cleanup
Browse files Browse the repository at this point in the history
Clean up and simplify template
  • Loading branch information
brian-rose committed Nov 7, 2022
2 parents 1ebfc55 + 09b84e6 commit 4d3dc37
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 18 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./

2 changes: 0 additions & 2 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/trigger-book-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

# Other input options are possible, see ProjectPythiaCookbooks/cookbook-actions/.github/workflows/build-book.yaml
5 changes: 0 additions & 5 deletions .github/workflows/trigger-link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d3dc37

Please sign in to comment.