Skip to content

Update render-site.yaml #132

Update render-site.yaml

Update render-site.yaml #132

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
release:
types: [published]
workflow_dispatch:
name: render-site
jobs:
render-site:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install packages
run: |
install.packages("remotes")
remotes::install_github("bupaverse/edeaR")
install.packages("rmarkdown")
install.packages("bslib")
install.packages("htmltools")
install.packages("knitr")
install.packages("shiny")
install.packages("bupaverse")
install.packages("tidyverse")
install.packages("readr")
install.packages("purrr")
install.packages("xaringanExtra")
install.packages("pander")
install.packages("xesreadR")
install.packages("processanimateR")
install.packages("daqapo")
install.packages("psmineR")
install.packages("processcheckR")
install.packages("distill")
remotes::install_github("bupaverse/processpredictR")
shell: Rscript {0}
- name: Build site
run: rmarkdown::render_site(encoding = "UTF-8")
shell: Rscript {0}
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs