Commit 7c93dd3b authored by Dorchies David's avatar Dorchies David
Browse files

feat: Add CDF database during docker container building

Refs #18
parent 42a1802d
Pipeline #21842 passed with stage
in 2 minutes and 56 seconds
......@@ -13,5 +13,6 @@ deploy:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh $SHINY_HOST 'rm -rf irmara && git clone'
- ssh $SHINY_HOST "cd irmara && git checkout ${CI_COMMIT_REF_NAME}"
- ssh $SHINY_HOST "mkdir -p irmara/inst/cdf && cp irmara_data/* irmara/inst/cdf/*"
- echo $PASSWORD_AUBES | ssh -tt $SHINY_HOST 'sudo docker build --build-arg COMMIT_HASH=$(git rev-parse HEAD) -t irmara irmara'
- echo $PASSWORD_AUBES | ssh -tt $SHINY_HOST 'sudo service docker.irmara restart'
\ No newline at end of file
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