Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
environment-file: book/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
shell: bash -l {0}
run: |
cp book/_config.yml .
cp book/_toc.yml .
cp book/*.md .
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: public_html # The folder the action should deploy.
CLEAN: true
22 changes: 21 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,24 @@ jobs:
papermill aiida_simple.ipynb aiida_simple_out.ipynb -k "python3"
papermill jobflow_simple.ipynb jobflow_simple_out.ipynb -k "python3"
papermill pyiron_base_simple.ipynb pyiron_base_simple_out.ipynb -k "python3"
papermill universal_workflow_simple.ipynb universal_workflow_simple_out.ipynb -k "python3"
papermill universal_workflow_simple.ipynb universal_workflow_simple_out.ipynb -k "python3"

book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
environment-file: book/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
shell: bash -l {0}
run: |
cp book/_config.yml .
cp book/_toc.yml .
cp book/*.md .
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
2 changes: 1 addition & 1 deletion aiida_nfdi.ipynb

Large diffs are not rendered by default.

Loading
Loading