Sage-Bionetworks / projectLive_NF

Live view of projects of funding partners
2 stars 3 forks source link

Automatic deployment to ShinyApps #159

Closed brucehoff closed 2 years ago

brucehoff commented 2 years ago

This PR adds a workflow to deploy to ShinyApps. Work in progress is deployed to /projectLive_NF-staging. When a release* branch is created the app will be deployed to /projectLive_NF. This allows us to develop and test while the production version continues to run.

Before merging the PR, set the following parameters in the projectLive_NF GitHub repo' (under Settings > Secrets > New repository secret):

REPO_PAT: This is a GitHub personal access token having (at least) 'repository' scope. RSCONNECT_USER: sagebio RSCONNECT_TOKEN: See the token in the shinyapps.io record in LastPass. RSCONNECT_SECRET: See the secret in the shinyapps.io record in LastPass. OAUTH_CLIENT_ID: Use 100133 or create your own. OAUTH_CLIENT_SECRET: If you use 100133, retrieve the secret from the ShinyApps Synapse account record in LastPass.