Skip to content

Commit

Permalink
Update simpleAmbiorixForm.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sounkou-bioinfo authored Oct 16, 2024
1 parent 9a8285e commit 582b90c
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/simpleAmbiorixForm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,7 @@ jobs:

- uses: r-lib/actions/setup-renv@v2

- name: Create and populate .Renviron file
env:
RS_CONNECT_NAME: ${{ secrets.RS_CONNECT_NAME }}
RS_CONNECT_TOKEN: ${{ secrets.RS_CONNECT_TOKEN }}
RS_CONNECT_SECRET: ${{ secrets.RS_CONNECT_SECRET }}
run: |
echo $PWD
if [ -z "${RS_CONNECT_NAME}" ]; then echo "----empty" ; fi
if [ -z "${RS_CONNECT_TOKEN}" ]; then echo "----empty" ; fi
if [ -z "${RS_CONNECT_SECRET}" ]; then echo "----empty" ; fi
shell: bash

- name: Publish shinyapps
- name: Publish to shinyapps.io
env:
APPNAME: simpleAmbiorixHTMX
ACCOUNT: ${{ secrets.RS_CONNECT_NAME }}
Expand All @@ -50,6 +37,7 @@ jobs:
print(list.files())
if( "${{ secrets.RS_CONNECT_NAME }}" == "") {quit()}
renv::restore()
renv::install("shiny")
rsconnect::setAccountInfo("${{ secrets.RS_CONNECT_NAME }}", "${{ secrets.RS_CONNECT_TOKEN }}", "${{ secrets.RS_CONNECT_SECRET }}")
rsconnect::deployApp(appName = "${{ env.APPNAME }}" , forceUpdate = TRUE)

0 comments on commit 582b90c

Please sign in to comment.