From 796fc72cf9419320c01d8315338a25b6942b810c Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Mon, 16 Oct 2023 16:00:51 +0200 Subject: [PATCH] rsync: do not preserve permissions -a contains the -p option. This is problematic because on gitlab ci all directories have 777 permissions. --- recipe/base.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/base.php b/recipe/base.php index 57c1cef..ccc1920 100644 --- a/recipe/base.php +++ b/recipe/base.php @@ -117,8 +117,9 @@ $source = getenv('CI') ? $baseDir : host('local')->get('release_path'); upload($source.'/', '{{release_path}}', [ - 'flags' => '-az', + 'flags' => '-rltz', 'options' => [ + '--executability', '--exclude', '.cache', '--exclude', '.git', '--exclude', '.tools',