-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from NIEHS/staging-internal
Staging internal
- Loading branch information
Showing
1 changed file
with
69 additions
and
69 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,82 @@ | ||
# # 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 | ||
# --- | ||
# name: Deploy Toolkit | ||
--- | ||
name: Deploy Toolkit | ||
|
||
# on: | ||
# push: | ||
# branches: [main, master] | ||
# pull_request: | ||
# branches: [main, master] | ||
# release: | ||
# types: [published] | ||
# workflow_dispatch: | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
# jobs: | ||
# deploy_toolkit: | ||
# runs-on: ubuntu-latest | ||
jobs: | ||
deploy_toolkit: | ||
runs-on: ubuntu-latest | ||
|
||
# # Only restrict concurrency for non-PR jobs | ||
# concurrency: | ||
# group: bookdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
# Only restrict concurrency for non-PR jobs | ||
concurrency: | ||
group: bookdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
|
||
# env: | ||
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# permissions: | ||
# contents: write | ||
permissions: | ||
contents: write | ||
|
||
# steps: | ||
# - uses: actions/checkout@v4 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# - uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
# - uses: r-lib/actions/setup-r@v2 | ||
# with: | ||
# use-public-rspm: true | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
# - name: Install libudunits2 and libmagick | ||
# run: | | ||
# sudo apt-get install -y libudunits2-dev libgdal-dev | ||
# sudo apt-get install libmagick++-dev | ||
- name: Install libudunits2 and libmagick | ||
run: | | ||
sudo apt-get install -y libudunits2-dev libgdal-dev | ||
sudo apt-get install libmagick++-dev | ||
# - name: Build site | ||
# run: | | ||
# install.packages(c( | ||
# "bookdown", | ||
# "rmarkdown", | ||
# "plotly", | ||
# "shiny", | ||
# "tidycensus", | ||
# "tidyverse", | ||
# "viridis", | ||
# "ggmap", | ||
# "ggplot2", | ||
# "maps", | ||
# "dplyr", | ||
# "knitr", | ||
# "latticeExtra", | ||
# "pals", | ||
# "classInt", | ||
# "sf", | ||
# "udunits2", | ||
# "tmap", | ||
# "lubridate", | ||
# "gifski", | ||
# "magick", | ||
# "cowplot", | ||
# "BiocManager" | ||
# ), | ||
# dependencies = TRUE | ||
# ) | ||
# BiocManager::install("Biobase") | ||
# bookdown::render_book() | ||
# shell: Rscript {0} | ||
- name: Build site | ||
run: | | ||
install.packages(c( | ||
"bookdown", | ||
"rmarkdown", | ||
"plotly", | ||
"shiny", | ||
"tidycensus", | ||
"tidyverse", | ||
"viridis", | ||
"ggmap", | ||
"ggplot2", | ||
"maps", | ||
"dplyr", | ||
"knitr", | ||
"latticeExtra", | ||
"pals", | ||
"classInt", | ||
"sf", | ||
"udunits2", | ||
"tmap", | ||
"lubridate", | ||
"gifski", | ||
"magick", | ||
"cowplot", | ||
"BiocManager" | ||
), | ||
dependencies = TRUE | ||
) | ||
BiocManager::install("Biobase") | ||
bookdown::render_book() | ||
shell: Rscript {0} | ||
|
||
# - name: Deploy to GitHub pages 🚀 | ||
# if: github.event_name != 'pull_request' | ||
# uses: JamesIves/[email protected] | ||
# with: | ||
# clean: false | ||
# branch: gh-pages | ||
# folder: docs | ||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |