Skip to content
Open
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
48 changes: 48 additions & 0 deletions .github/workflows/book_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: new-deploy

# Only run this when the main branch changes
on:
push:
branches:
- main
- book

# Sets permissions of the GITHUB_TOKEN to allow deployment to Pages
permissions:
contents: read
pages: write
id-token: write

# This job installs dependencies, build the book, and pushes it to Pages
jobs:
deploy-book:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies
run: |
pip install jupyter-book

- name: Build the book
run: |
jupyter-book build .

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: '_build/html'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion projects/microfilm.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Microfilm

A library to create figures and animations of 2D microscopy data.
A library to create figures and animations of 2D microscopy images.