Skip to content

Merge pull request #167 from Metropolitan-Council/laura #154

Merge pull request #167 from Metropolitan-Council/laura

Merge pull request #167 from Metropolitan-Council/laura #154

Workflow file for this run

name: Deploy
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy:
runs-on: ubuntu-latest
name: ubuntu-latest ('release')
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.1.3'
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rsconnect, remotes
- name: Deploy app to shinyappsio
env:
SHINYAPPSIO_TOKEN: ${{ secrets.SHINYAPPSIO_TOKEN }}
SHINYAPPSIO_SECRET: ${{ secrets.SHINYAPPSIO_SECRET }}
run: |
bash ./metc-wastewater-covid-monitor/deploy.sh