Skip to content

fix: wrong link + update submodules 🐛 #5

fix: wrong link + update submodules 🐛

fix: wrong link + update submodules 🐛 #5

name: Generate static site
on:
push:
branches:
- main
jobs:
static:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: install reveal-md
run: npm install -g reveal-md
- name: generate static site
run: reveal-md ./cours --static --glob '*.slides.md'
- name: run the apply_theme bash script
run: bash ./apply_theme.sh
- name: push to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: ./_static