Commit 24b40b6 1 parent ca56ae5 commit 24b40b6 Copy full SHA for 24b40b6
File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 7
7
* Fix ` DEPLOY_UNFINISHED ` not being copied over to ` release ` folder (#[ 1145] )(https://github.com/roots/trellis/pull/1145 )
8
8
* Deploy: Remove untracked files from project folder ([ #1146 ] ( https://github.com/roots/trellis/pull/1146 ) )
9
9
* Nginx: Block ` composer/installed.json ` ([ #1150 ] ( https://github.com/roots/trellis/pull/1150 ) )
10
+ * Run ` git clean ` after checking ` git clone ` is successful ([ #1151 ] ( https://github.com/roots/trellis/pull/1151 ) )
10
11
11
12
### 1.3.0: December 7th, 2019
12
13
* Add ` git_sha ` and ` release_version ` to ` .env ` on deploy ([ #1124 ] ( https://github.com/roots/trellis/pull/1124 ) )
Original file line number Diff line number Diff line change 24
24
no_log : true
25
25
register : git_clone
26
26
27
- - name : Remove untracked files from project folder
28
- command : git clean -fdx
29
- args :
30
- chdir : " {{ project_source_path }}"
31
- register : git_clean
32
- changed_when : not not(git_clean.stdout)
33
-
34
27
- name : Failed connection to remote repo
35
28
fail :
36
29
msg : |
40
33
> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-agent-forwarding
41
34
when : git_clone is failed
42
35
36
+ - name : Remove untracked files from project folder
37
+ command : git clean -fdx
38
+ args :
39
+ chdir : " {{ project_source_path }}"
40
+ register : git_clean
41
+ changed_when : not not(git_clean.stdout)
42
+
43
43
- include_tasks : " {{ include_path }}"
44
44
with_items : " {{ deploy_update_after | default([]) }}"
45
45
loop_control :
You can’t perform that action at this time.
0 commit comments