Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display commit sha on app UI #11

Open
Bisaloo opened this issue Nov 29, 2021 · 0 comments
Open

Display commit sha on app UI #11

Bisaloo opened this issue Nov 29, 2021 · 0 comments

Comments

@Bisaloo
Copy link
Member

Bisaloo commented Nov 29, 2021

A simple gert::get_commit_info() is causing issues when deploying on shinyapps.io because the .git/ folder is not copied.

A workaround would be to create a file / an env var with the current commit in the deploy-rsconnect workflow but then, we would have issues when deploying locally.

It may be time to use staging vs prod environments: https://kellobri.github.io/shiny-prod-book/connecting-to-data-in-production.html#the-config-package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant