[ALZ-263] Clean VAS tab labels #194
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pkgdown | |
on: | |
push: | |
branches: | |
- master | |
- prod | |
pull_request: | |
branches: | |
- master | |
- prod | |
workflow_dispatch: | |
jobs: | |
pkgdown: | |
runs-on: Ubuntu-20.04 | |
container: rocker/rstudio:4.1.3 | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: update ubuntu repos | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential pkg-config git zlib1g-dev libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev libfontconfig1-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libxml2-dev | |
- name: setup pandoc | |
uses: r-lib/actions/setup-pandoc@v2 | |
- name: Query dependencies | |
run: | | |
install.packages('remotes') | |
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) | |
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") | |
shell: Rscript {0} | |
# - name: Cache R packages | |
# uses: actions/cache@v2 | |
# with: | |
# path: ${{ env.R_LIBS_USER }} | |
# key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} | |
# restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- | |
- name: Install dependencies | |
run: | | |
install.packages("stringi", configure.args="--with-extra-cxxflags='--std=c++11'", version = "1.5.3") | |
install.packages("renv", repos = "https://cloud.r-project.org/") | |
install.packages("httr", repos = "https://cloud.r-project.org/") | |
source("renv/activate.R") | |
renv::restore() | |
remotes::install_deps(dependencies = TRUE) | |
install.packages("pkgdown", type = "binary") | |
shell: Rscript {0} | |
# - name: Deploy package | |
# run: Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' |