Skip to content

Commit 4f995d8

Browse files
committed
Add GitHub Pages deploy Action
1 parent 3862c35 commit 4f995d8

File tree

2 files changed

+54
-6
lines changed

2 files changed

+54
-6
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Install Pixi
17+
uses: prefix-dev/[email protected]
18+
- name: Generate index.html
19+
run: |
20+
pixi run export-html
21+
rm -rf .pixi .git
22+
23+
- name: Upload index.html, etc. to GitHub Pages
24+
uses: actions/upload-pages-artifact@v4
25+
with:
26+
path: ./
27+
28+
deploy:
29+
needs: build
30+
31+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
32+
permissions:
33+
pages: write # to deploy to Pages
34+
id-token: write # to verify the deployment originates from an appropriate source
35+
36+
# Deploy to the github-pages environment
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
41+
# Specify runner + deployment step
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4
47+

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ header: 'Scientific AI and the Future of OME-Zarr'
99
footer: '[![h:40 fideus labs logo](./assets/fideus-logo-no-text.svg)](https://fideus.io)       Matt McCormick, PhD | fideus labs | EMBL BIA 2025'
1010
---
1111

12+
<style>
13+
img[alt~="center"] {
14+
display: block;
15+
margin: 0 auto;
16+
}
17+
</style>
18+
1219
# Scientific AI and the Future of OME-Zarr
1320
## Building Intelligent Bioimage Analysis Workflows
1421

@@ -18,12 +25,6 @@ footer: '[![h:40 fideus labs logo](./assets/fideus-logo-no-text.svg)](https://fi
1825
EMBL Advanced Methods in Bioimage Analysis
1926
September 17, 2025
2027

21-
<style>
22-
img[alt~="center"] {
23-
display: block;
24-
margin: 0 auto;
25-
}
26-
</style>
2728
---
2829

2930
## Today's Journey

0 commit comments

Comments
 (0)