diff --git a/.semaphore/deploy_staging.yml b/.semaphore/deploy_staging.yml index ebde5a9..7ec6401 100644 --- a/.semaphore/deploy_staging.yml +++ b/.semaphore/deploy_staging.yml @@ -23,6 +23,8 @@ blocks: - 'docker tag my-etm:beta quintel/my-etm:beta' - 'docker push quintel/my-etm:beta' - cache store + - echo $SSH_FINGERPRINT >> ~/.ssh/known_hosts + - ssh -i ~/.ssh/id_deploy "${SSH_USER}@${SSH_HOST}" -p $SSH_PORT "cd /var/www/my-etm && ./deploy.sh" secrets: - name: Docker Hub credentials - name: Staging SSH settings