pas de sudo ici
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user