Skip to content

Commit fe52f8a

Browse files
Update publish.yml
1 parent 6cb992b commit fe52f8a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
fetch-depth: 0
2222
- id: deploy
2323
name: 💎 Deploy to shinyapps.io
24-
run: |
25-
Rscript -e "rsconnect::setAccountInfo(name='halleeshearer', token=${{secrets.TOKEN}}, secret=${{secrets.SECRET}})"
26-
Rscript -e "rsconnect::deployApp(appName = 'BrainEffeX_auto')"
24+
uses: qwert666/shinyapps-actions@main
25+
env:
26+
SHINY_USERNAME: 'halleeshearer'
27+
SHINY_TOKEN: ${{ secrets.SHINYAPP_TOKEN }}
28+
SHINY_SECRET: ${{ secrets.SHINYAPP_SECRET }}
29+
APP_NAME: 'BrainEffeX_auto'
30+
APP_DIR: ''

0 commit comments

Comments
 (0)