pas de sudo ici

This commit is contained in:
Yannick Francois
2019-02-24 22:53:17 +01:00
parent 9007b6e7b9
commit 09dc1149dd
+2 -2
View File
@@ -16,8 +16,8 @@ pages:
webroot: . webroot: .
script: script:
- if [ -z "$webroot" ]; then echo "Need to set webroot" && exit 1; fi - 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 - rsync -rv ./ $webroot --exclude '.git' --exclude '.gitlab-ci.yml' --exclude '.gitignore' --delete
- sudo chown user:group $webroot -R - chown user:group $webroot -R
artifacts: artifacts:
paths: paths:
- public - public