-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Lint the repo * Lint code in comment (tut01) * Apply suggestions from code review Co-authored-by: Yvonne Fröhlich <[email protected]> * Lint again --------- Co-authored-by: yvonnefroelich <[email protected]> Co-authored-by: Yvonne Fröhlich <[email protected]>
- Loading branch information
1 parent
45705b7
commit 68b9c78
Showing
9 changed files
with
5,395 additions
and
5,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ on: | |
# unrelated files, you can make this run only if a file within that specific | ||
# folder has been modified. | ||
paths: | ||
- '.github/workflows/deploy-book.yml' | ||
- 'book/**' | ||
- ".github/workflows/deploy-book.yml" | ||
- "book/**" | ||
|
||
# This job installs dependencies, builds the book, and pushes it to `gh-pages` | ||
jobs: | ||
|
@@ -29,30 +29,30 @@ jobs: | |
shell: bash -l {0} | ||
|
||
steps: | ||
# Checkout current git repository | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
# Checkout current git repository | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
# Install Mambaforge with conda-forge dependencies | ||
- name: Setup Mambaforge | ||
uses: mamba-org/[email protected] | ||
with: | ||
environment-name: agu24workshop | ||
environment-file: conda-lock.yml | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
condarc: | | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
# Install Mambaforge with conda-forge dependencies | ||
- name: Setup Mambaforge | ||
uses: mamba-org/[email protected] | ||
with: | ||
environment-name: agu24workshop | ||
environment-file: conda-lock.yml | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
condarc: | | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
# Build the book | ||
- name: Build the book | ||
run: jupyter-book build book/ | ||
# Build the book | ||
- name: Build the book | ||
run: jupyter-book build book/ | ||
|
||
# Push the book's HTML to github-pages | ||
- name: GitHub Pages action | ||
uses: peaceiris/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: book/_build/html | ||
# Push the book's HTML to github-pages | ||
- name: GitHub Pages action | ||
uses: peaceiris/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: book/_build/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.