Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 88fa98b

Browse files
committed
Merge branch 'master' of https://github.com/e-marshall/itslive
2 parents 21dd029 + 49cb8a6 commit 88fa98b

File tree

2 files changed

+60
-62
lines changed

2 files changed

+60
-62
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/on-push.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: on-push
2+
permissions:
3+
pull-requests: write
4+
issues: write
5+
repository-projects: write
6+
7+
8+
on:
9+
push:
10+
branches:
11+
- master
12+
tags:
13+
- '*'
14+
pull_request:
15+
branches:
16+
- master
17+
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
jobs:
23+
jupyterbook:
24+
name: build jupyter book
25+
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
shell: bash -l {0}
29+
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v3
33+
34+
- name: Codespell with annotations
35+
uses: codespell-project/actions-codespell@v1.0
36+
37+
38+
- name: Install Conda Environment
39+
uses: mamba-org/provision-with-micromamba@v13
40+
with:
41+
environment-file: /binder/environment.yml
42+
cache-env: true
43+
cache-env-key: ubuntu-latest-3.10
44+
45+
- name: Build Jupyter Book
46+
run: |
47+
jupyter-book build .
48+
49+
- name: Dump Build Logs
50+
if: always()
51+
run: |
52+
if (test -a _build/html/reports/*log); then cat _build/html/reports/*log ; fi
53+
54+
- name: Publish to GitHub Pages
55+
if: github.ref == 'refs/heads/master'
56+
uses: peaceiris/actions-gh-pages@v3
57+
with:
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
publish_dir: _build/html
60+
publish_branch: gh-pages

0 commit comments

Comments
 (0)