Skip to content

add new examples for bio-imaginy and astro #9

add new examples for bio-imaginy and astro

add new examples for bio-imaginy and astro #9

Workflow file for this run

name: deploy
on:
# Trigger the workflow on push to main branch and tutorial path
push:
branches:
- main
paths:
- demo/**
# This job installs dependencies, build the jupyter notebook, and pushes it to `render`, a new `branch`
jobs:
build:
name: Setup
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Set up conda and dependencies
uses: mamba-org/setup-micromamba@v1
with:
environment-name: egi2024
create-args: >-
python=3.12
- name: Install requirements
run: |
pip install -r requirements.txt
# Build the book
- name: Build the jupyter book
run: |
jupyter-book build demo
# Deploy the book's HTML to gh-pages branch
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: demo/_build/html
force_orphan: true