To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 10fc3550 authored by Mathis Dedial's avatar Mathis Dedial
Browse files

Update Gitlab CI config file to automatically update dependencies

parent e0f5a9e5
Pipeline #2748 skipped with stage
......@@ -17,6 +17,7 @@ dev_deploy:
- rsync -rav -e ssh --exclude='.git/' --exclude='.gitlab-ci.yml' --delete-excluded ./ amivburger@login.ee.ethz.ch:~/app_tmp
- ssh -p22 amivburger@login.ee.ethz.ch "cp ~/app/app/config.py ~/app_tmp/app/"
- ssh -p22 amivburger@login.ee.ethz.ch "mv ~/app ~/app_old && mv ~/app_tmp ~/app && chmod -R 700 ~/app"
- ssh -p22 amivburger@login.ee.ethz.ch "pip install -r ~/app/requirements.txt"
- ssh -p22 amivburger@login.ee.ethz.ch "touch ~/app-touch-reload.gg"
- ssh -p22 amivburger@login.ee.ethz.ch "rm -rf ~/app_old"
environment:
......
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