GitHub Pages
Since we're using a node
based project for marp
, and scala-cli
, there are
some convenient actions we can use to also deploy our slides right to GitHub
Pages via GitHub Actions.
Who doesn't love staring at some deployment YAML?
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build Slides
run: yarn install && yarn build
Full File:
https://github.com/alterationx10/scala-slides/blob/main/.github/workflows/static.yaml