Skip to content

fix yaml syntax errors take 2 #48

fix yaml syntax errors take 2

fix yaml syntax errors take 2 #48

on:
push:
branches:
- master
name: deploy-shiny
jobs:
deployShiny:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:

Check failure on line 14 in .github/workflows/deployShinyApps.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deployShinyApps.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-renv@v2
with:
profile: '"shiny"'
- name: Install rsconnect
shell: Rscript {0}
run: |
if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv")
renv::install("[email protected]")
- name: Push to shinyApps.io
run: >
Rscript
-e "rsconnect::setAccountInfo(name = 'department-for-education', token = '${{secrets.SHINYAPPS_TOKEN}}', secret = '${{secrets.SHINYAPPS_SECRET}}')"
-e "rsconnect::deployApp(forceUpdate=TRUE)"