stages: - deploy deploy_timelapse: stage: deploy script: - ssh-keyscan -H 172.17.0.1 >> ~/.ssh/known_hosts - ssh kerboul@172.17.0.1 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh" only: - main