Skip to content

Commit

Permalink
Fix deploy issues with packages
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed May 27, 2024
1 parent e3d6b94 commit 1b15673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@ jobs:
- name: Deploy
run: |
R -e "
install.packages('rsconnect');
install.packages(c('rsconnect', 'remotes'));
bspm::disable();
remotes::install_github("ESHackathon/CiteSource", force = TRUE);
rsconnect::setAccountInfo(name=${{secrets.SHINY_LUKAS_ACCOUNT}}, token=${{secrets.SHINY_LUKAS_TOKEN}}, secret=${{secrets.SHINY_LUKAS_SECRET}});
rsconnect::deployApp(appName = 'CiteSource_latest', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)"
- name: Deploy release version conditionally
if: github.event_name == 'release' && github.event.release.tag_name != '*test*'
run: |
R -e "
install.packages('rsconnect');
rsconnect::setAccountInfo(name=${{secrets.SHINY_LUKAS_ACCOUNT}}, token=${{secrets.SHINY_LUKAS_TOKEN}}, secret=${{secrets.SHINY_LUKAS_SECRET}});
rsconnect::deployApp(appName = 'CiteSource', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)"
- name: Create pkgdown
run: |
R -e "
install.packages('pkgdown'));
install.packages('pkgdown');
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)"
- name: Deploy to GitHub pages 🚀
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Suggests:
rmarkdown,
shiny,
shinyalert,
shinyjs,
progressr,
shinybusy,
shinyWidgets,
Expand Down

0 comments on commit 1b15673

Please sign in to comment.