Skip to content

Commit

Permalink
rsync: do not preserve permissions
Browse files Browse the repository at this point in the history
-a contains the -p option. This is problematic because on gitlab ci all directories have 777 permissions.
  • Loading branch information
gharlan committed Oct 16, 2023
1 parent 78eaaa9 commit 796fc72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 796fc72

Please sign in to comment.