skip deploys when triggered by drone

This commit is contained in:
viktorbarzin 2021-02-19 19:16:31 +00:00
parent 18fe4f89e1
commit 736dee528e

View file

@ -26,7 +26,7 @@ steps:
- 'chmod 400 secrets/deploy_key'
- "git add ."
- "git remote set-url origin git@github.com:ViktorBarzin/infra.git"
- "git commit -m 'Drone CI deploy commit' || echo 'No changes'"
- "git commit -m 'Drone CI deploy commit [CI SKIP]' || echo 'No changes'"
- "GIT_SSH_COMMAND='ssh -i ./secrets/deploy_key -o IdentitiesOnly=yes' git push origin master"
---