diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2020-06-30 16:31:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 16:31:26 +0200 |
commit | 90634ee04cc1a4ab983de6bf142f25978463bc4a (patch) | |
tree | 3b1fa1a9e85d57dbf4f4071321f9011343f40ac6 /tasks/deploy.yml | |
parent | 44e55b1d81f5defe28249d6b70b894c1ebad7c91 (diff) | |
parent | db630aaa8b261503076eb7320ee3cee5a5582be8 (diff) | |
download | ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.gz ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.zst ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.zip |
Merge pull request #72 from clementd-fretlink/noop-if-up-to-date
don't run `clever deploy` if the app is up-to-date
Diffstat (limited to 'tasks/deploy.yml')
-rw-r--r-- | tasks/deploy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index f9d8408..ae11921 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -47,7 +47,7 @@ | |||
47 | changed_when: false | 47 | changed_when: false |
48 | 48 | ||
49 | - name: Deploy to Clever-Cloud | 49 | - name: Deploy to Clever-Cloud |
50 | shell: "clever deploy --force" | 50 | command: "{{ ansible_env.HOME }}/{{ clever_user_path }}/clever-deploy.sh" |
51 | args: | 51 | args: |
52 | chdir: "{{ clever_app_root }}" | 52 | chdir: "{{ clever_app_root }}" |
53 | environment: | 53 | environment: |