Skip to content
Open
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
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy

on:
push:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand All @@ -16,17 +16,20 @@ jobs:
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.8
python-version: "3.10"
environment-file: .github/ci_support/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
shell: bash -l {0}
run: |
echo "- file: README.md" > _toc.yml
for f in $(find . -name '*.ipynb' | sort -n); do echo "- file: ${f}" >> _toc.yml; done
echo "format: jb-book" > _toc.yml
echo "root: README" >> _toc.yml
echo "chapters:" >> _toc.yml
for f in $(find . -name '*.ipynb' | sort -n); do echo "- file: ${f#*/}" >> _toc.yml; done
curl https://pyiron.org/images/logo_dark.png --output logo_dark.png
bash .github/ci_support/write_book_config.sh
rm CODE_OF_CONDUCT.md LICENSE
cat _toc.yml
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
Expand Down