Commit bbe70a60 authored by Philippe Grosjean's avatar Philippe Grosjean
Browse files

Update post-init.sh

parent 9fda68f9
Pipeline #246517 passed with stage
in 31 seconds
......@@ -36,11 +36,11 @@ echo /home/rstudio/${CI_PROJECT} > /home/rstudio/.config/renkudir
chown rstudio:rstudio /home/rstudio/.config/renkudir
# Install GitHub credentials
cp /home/rstudio/${CI_PROJECT}/config/credentials /home/rstudio/${CI_PROJECT}/.git/
cp /home/rstudio/${CI_PROJECT}/.config/credentials /home/rstudio/${CI_PROJECT}/.git/
# If there is a custom RStudio prefs, install it
if [[ -f /home/rstudio/${CI_PROJECT}/config/rstudio-prefs-user.json ]]; then
cp /home/rstudio/${CI_PROJECT}/config/rstudio-prefs-user.json /home/rstudio/.config/rstudio/rstudio-prefs.json
if [[ -f /home/rstudio/${CI_PROJECT}/.config/rstudio-prefs-user.json ]]; then
cp /home/rstudio/${CI_PROJECT}/.config/rstudio-prefs-user.json /home/rstudio/.config/rstudio/rstudio-prefs.json
chown rstudio:rstudio /home/rstudio/.config/rstudio/rstudio-prefs.json
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment