Skip to content

Commit 01b79f9

Browse files
committed
Build and publish marimo notebook
1 parent 235936f commit 01b79f9

7 files changed

Lines changed: 444 additions & 1 deletion

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @daniel-mizsak

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [ ] Linting passes
2+
- [ ] Tests are added and passing
3+
- [ ] Documentation is updated

.github/workflows/gh-pages.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: Deploy notebooks to GitHub Pages
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Check out the codebase
24+
uses: actions/checkout@v5.0.0
25+
26+
- name: Setup pages
27+
uses: actions/configure-pages@v5.0.0
28+
29+
- name: Install just
30+
uses: daniel-mizsak/workflows/.github/actions/setup-just@v1
31+
32+
- name: Build notebooks
33+
run: |
34+
just install
35+
just build-notebooks
36+
37+
- name: Upload pages artifact
38+
uses: actions/upload-pages-artifact@v4.0.0
39+
with:
40+
path: docs/00_Bevezetes_es_kurzusinformaciok
41+
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4.0.5

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
**/.DS_Store
1+
# Project
2+
docs/
3+
4+
# System
5+
.DS_Store
6+
7+
# Environments
8+
.env
9+
.venv
10+
11+
# IDE
12+
.vscode

0 commit comments

Comments
 (0)