deploie tout w
This commit is contained in:
+2
-6
@@ -11,13 +11,9 @@ before_script:
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
variables:
|
||||
BASEURL: '/$CI_PROJECT_NAME'
|
||||
webroot: .
|
||||
script:
|
||||
- if [ -z "$webroot" ]; then echo "Need to set webroot" && exit 1; fi
|
||||
- rsync -rv ./ $webroot --exclude '.git' --exclude '.gitlab-ci.yml' --exclude '.gitignore' --delete
|
||||
- chown user:group $webroot -R
|
||||
- mkdir public
|
||||
- mv * public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
Reference in New Issue
Block a user