Skip to content

remove call to devtools::install_github() #5

remove call to devtools::install_github()

remove call to devtools::install_github() #5

# https://github.com/marketplace/actions/deploy-to-shinyapps-io
name: Deploy to shinyapps.io
on:
# run on any push
push:
branches: [dev_shiny]
release:
types: [published]
# run on request (via button in actions menu)
workflow_dispatch:
jobs:
deploy:
name: Deploy to shinyapps
# allow skipping deployment for commits containing '[automated]' or '[no-deploy]' in the commit message
if: "!contains(github.event.head_commit.message, '[automated]') && !contains(github.event.head_commit.message, '[no-deploy]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Remove renv
# first remove renv, then install system requirements based on packages listed in DESCRIPTION
run: |
rm renv.lock
rm -r renv
rm .Rprofile
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: local::.
shell: Rscript {0}

Check failure on line 36 in .github/workflows/shinyapps-deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy to shinyapps.io

Invalid workflow file

The workflow is not valid. .github/workflows/shinyapps-deploy.yaml (Line: 36, Col: 9): Unexpected value 'shell'

Check failure on line 36 in .github/workflows/shinyapps-deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy to shinyapps.io

Invalid workflow file

The workflow is not valid. .github/workflows/shinyapps-deploy.yaml (Line: 36, Col: 9): Unexpected value 'shell'

Check failure on line 36 in .github/workflows/shinyapps-deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy to shinyapps.io

Invalid workflow file

The workflow is not valid. .github/workflows/shinyapps-deploy.yaml (Line: 36, Col: 9): Unexpected value 'shell'
- name: deploy
uses: BDSI-Utwente/shinyapps-deploy-github-action@v1
with:
# account and application name (https://<accountName>.shinyapps.io/<appName>)
appName: gtexr
accountName: rmgpanw
# token and secret obtained from https://www.shinyapps.io/admin/#/tokens
accountToken: ${{ secrets.SHINYAPPS_TOKEN }}
accountSecret: ${{ secrets.SHINYAPPS_SECRET }}
appDir: inst/app