Commit 81d7fd9b authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

[cicd] deployment to testserver, fixed indent

3 merge requests!32Prepare production,!29Mlab 197,!6Contact mailinglist assets
Pipeline #218 failed
Showing with 23 additions and 23 deletions
+23 -23
......@@ -7,36 +7,36 @@ variables:
pages-master:
stage: deploy
script:
- echo $EXPORT_PAGES_DIR
- mkdir .public
- cp -r css .public
- cp -r images .public
- cp -r js .public
- cp -r includes .public
- cp *.html .public
- mv .public public
- cp -r public/* "$EXPORT_PAGES_DIR"
- echo $EXPORT_PAGES_DIR
- mkdir .public
- cp -r css .public
- cp -r images .public
- cp -r js .public
- cp -r includes .public
- cp *.html .public
- mv .public public
- cp -r public/* "$EXPORT_PAGES_DIR"
artifacts:
paths:
- public
- public
only:
- master
- master
pages-devel:
stage: deploy
script:
- echo $EXPORT_PAGES_DIR
- mkdir .public
- cp -r css .public
- cp -r images .public
- cp -r js .public
- cp -r includes .public
- cp *.html .public
- mv .public public
- scp -r public/* ubuntu@193.196.52.30:"$EXPORT_PAGES_DIR"
- ssh -t ubuntu@193.196.52.30 "sudo chown tomcat:tomcat $EXPORT_PAGES_DIR"
- echo $EXPORT_PAGES_DIR
- mkdir .public
- cp -r css .public
- cp -r images .public
- cp -r js .public
- cp -r includes .public
- cp *.html .public
- mv .public public
- scp -r public/* ubuntu@193.196.52.30:"$EXPORT_PAGES_DIR"
- ssh -t ubuntu@193.196.52.30 "sudo chown tomcat:tomcat $EXPORT_PAGES_DIR"
artifacts:
paths:
- public
- public
only:
- devel
- devel
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment