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