deploie tout w

This commit is contained in:
Yannick Francois
2019-02-24 22:57:23 +01:00
parent 09dc1149dd
commit a06c8314b7
+2 -6
View File
@@ -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