Repository navigation
60 lines (52 loc) · 1.77 KB
/
Copy pathrender-site.yaml
File metadata and controls
60 lines (52 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# 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")
remotes::install_github("bupaverse/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/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: docs