Skip to content

Commit

Permalink
Try out of the box action
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed Feb 8, 2024
1 parent 20b814a commit c4f98a3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: deploy
uses: qwert666/shinyapps-actions@main
env:
SHINY_USERNAME: 'lukaswallrich'
SHINY_TOKEN: ${{ secrets.SHINYAPP_TOKEN }}
SHINY_SECRET: ${{ secrets.SHINYAPP_SECRET }}
APP_NAME: 'fred_explorer'
APP_DIR: ''
- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Install Dependencies
run: |
R |
-e "install.packages(c('shiny', 'rsconnect'))"
-e "rsconnect::setAccountInfo(name='lukaswallrich', token=${{secrets.TOKEN}}, secret=${{secrets.SECRET}})"
-e "rsconnect::deployApp(appName = 'fred_explorer', appDir = '.')"
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true


0 comments on commit c4f98a3

Please sign in to comment.