|
|
@ -1,7 +1,7 @@ |
|
|
|
#!/bin/bash -e |
|
|
|
#!/bin/bash -e |
|
|
|
|
|
|
|
|
|
|
|
# If the conf changed since the last client deployement, then re-deploy |
|
|
|
# If the conf changed since the last client deployement, or if the client build is newer than the one deployed, then re-deploy |
|
|
|
if [ {{ appsmith_root_dir }}/etc/env -nt {{ appsmith_root_dir }}/client/ ]; then |
|
|
|
if [ {{ appsmith_root_dir }}/etc/env -nt {{ appsmith_root_dir }}/client/ -o {{ appsmith_root_dir }}/src/app/client/build/ -nt {{ appsmith_root_dir }}/client/ ]; then |
|
|
|
rsync -a --delete {{ appsmith_root_dir }}/src/app/client/build/ {{ appsmith_root_dir }}/client/ |
|
|
|
rsync -a --delete {{ appsmith_root_dir }}/src/app/client/build/ {{ appsmith_root_dir }}/client/ |
|
|
|
find {{ appsmith_root_dir }}/client/ -type f | xargs \ |
|
|
|
find {{ appsmith_root_dir }}/client/ -type f | xargs \ |
|
|
|
sed -i \ |
|
|
|
sed -i \ |
|
|
|