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: .
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