diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0164be7..f9c8bd7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,8 +16,8 @@ pages: webroot: . script: - if [ -z "$webroot" ]; then echo "Need to set webroot" && exit 1; fi - - sudo rsync -rv ./ $webroot --exclude '.git' --exclude '.gitlab-ci.yml' --exclude '.gitignore' --delete - - sudo chown user:group $webroot -R + - rsync -rv ./ $webroot --exclude '.git' --exclude '.gitlab-ci.yml' --exclude '.gitignore' --delete + - chown user:group $webroot -R artifacts: paths: - public