Skip to content

Add Github actions

Add Github actions #1

Workflow file for this run

name: website
on:
push:
branches:
- main
jobs:
build:
name: Build website with rmarkdown
runs-on: ubuntu-latest
container: stateofther/r-finistr2024:0.1
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Additional Packages
run: Rscript -e "install.packages(c('tictoc'))"
- name: Generate slides
run: "quarto render"
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site