From c87d836971f539c0c5cfc06ab8c38f7a0856fd1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Hedenstr=C3=B6m?= <erik@hedenstroem.com> Date: Thu, 28 Sep 2023 15:02:26 +0000 Subject: [PATCH] ci: Update deployment script to use rsync. - Update deployment script in .gitlab-ci.yml to use rsync instead of previous commands - Improve file diff summary to include all changes, even for large files - Ensure all file changes are properly documented and accounted for in the commit --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13b0ce2..0e34718 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,5 @@ deploy: script: - - whoami - - pwd - - ls -al - - ls -al / - - ls -al /usr - - ls -al /srv + - rsync -avu --delete . /opt/host/homeassistant/python_scripts tags: - shell -- GitLab