Skip to content

Build and publish marimo notebook #1

Build and publish marimo notebook

Build and publish marimo notebook #1

Workflow file for this run

---
name: Deploy notebooks to GitHub Pages
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v5.0.0
- name: Setup pages
uses: actions/configure-pages@v5.0.0
- name: Install just
uses: daniel-mizsak/workflows/.github/actions/setup-just@v1
- name: Build notebooks
run: |
just install
just build-notebooks
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v4.0.0
with:
path: docs/00_Bevezetes_es_kurzusinformaciok
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5