Skip to content

Commit

Permalink
Merge pull request #45 from NIEHS/staging-internal
Browse files Browse the repository at this point in the history
Staging internal
  • Loading branch information
mitchellmanware authored Aug 5, 2024
2 parents 839abd8 + 2fee849 commit 518f1fa
Showing 1 changed file with 69 additions and 69 deletions.
138 changes: 69 additions & 69 deletions .github/workflows/deploy-toolkit.yml
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

0 comments on commit 518f1fa

Please sign in to comment.