Skip to content

Merge branch 'main' of https://github.com/uppsala-makerspace/loerdags… #71

Merge branch 'main' of https://github.com/uppsala-makerspace/loerdags…

Merge branch 'main' of https://github.com/uppsala-makerspace/loerdags… #71

name: Create generated files
on:
push:
paths:
- .github/workflows/create_generated_pages.yaml
- 'docs/**'
- .markdownlintignore
- .markdownlint.jsonc
pull_request:
paths:
- .github/workflows/create_generated_pages.yaml
- 'docs/**'
- .markdownlintignore
- .markdownlint.jsonc
jobs:
create_generated_files:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
#- uses: r-lib/actions/setup-pandoc@v2
#- name: Install libcurl4-openssl-dev
# run: sudo apt install -qq libcurl4-openssl-dev
#- name: Install fonts # from https://github.com/r-lib/systemfonts/issues/35#issuecomment-961900755
# run: sudo apt install -qq libfontconfig1-dev
#- name: Install libharfbuzz-dev and libfribidi-dev
# run: sudo apt install -qq libharfbuzz-dev libfribidi-dev
- name: Install dependencies
run: |
install.packages(c("httr2", "RCurl", "remotes", "testthat"))
remotes::install_github("richelbilderbeek/splimata")
shell: Rscript {0}
- name: Generate pages
run: ./scripts/create_pages_for_umstutorial.sh
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5