Skip to content

Bump actions/checkout from 3 to 4 #19

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #19

Workflow file for this run

# validate YAML
# https://codebeautify.org/yaml-validator
name: github-actions
on: [push]
jobs:
build-deploy:
name: build-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/r-lib/actions/tree/master/setup-r
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.1' # The R version to download
- run: sudo apt-get install libgdal-dev libudunits2-dev
- run: Rscript -e "install.packages(c('rsconnect', 'renv', 'shiny', 'tidyverse', 'lubridate', 'shinyWidgets', 'DT', 'plotly', 'readr', 'shinydashboard', 'shinyjs', 'shinyBS'))"
- name: Push to shinyapps.io
run: |
Rscript -e "rsconnect::setAccountInfo(name=${{secrets.SHINYAPPS_NAME}}, token=${{secrets.SHINYAPPS_TOKEN}}, secret=${{secrets.SHINYAPPS_SECRET}})"
Rscript -e "rsconnect::deployApp()"