Supprimer le fichier de configuration GitLab CI pour le déploiement de l'API Timelapse
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
stages:
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
deploy_timelapse:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- apt-get update && apt-get install -y openssh-client
|
|
||||||
- mkdir -p ~/.ssh
|
|
||||||
- chmod 700 ~/.ssh
|
|
||||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
|
||||||
- ssh-keyscan 172.17.0.1 >> ~/.ssh/known_hosts
|
|
||||||
- ssh kerboul@172.17.0.1 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh"
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
Reference in New Issue
Block a user