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

Add rollbar #871

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions regions_www/m/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# # # # #
# Setup #
# # # # #
library(rollbar)
rollbar.attach()

## Functions
source("pct_shiny_funs.R", local = T)
Expand Down
4 changes: 4 additions & 0 deletions scripts/publish-pct-shiny
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ export PATH=$PATH:/home/git/bin
echo "Check out the latest version of ${BRANCH} into our temp directory"
rm -rf ${VAR_DIR}${SHINY_APP_DIR}
mkdir -p ${VAR_DIR}${SHINY_APP_DIR}

git --git-dir /home/git/pct-shiny --work-tree ${VAR_DIR}${SHINY_APP_DIR} checkout ${BRANCH} -f
git --git-dir /home/git/pct-shiny rev-parse --short HEAD > ${VAR_DIR}${SHINY_APP_DIR}/repo_sha

echo "Copy secrets"
cp /home/git/Renviron ${VAR_DIR}${SHINY_APP_DIR}/regions_www/m/.Renviron

echo "Git fetch the data"
git -C /home/git/${DATA_GIT} fetch

Expand Down