Commit 2fd9af67 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

[cicd] deployment to testserver, fixed indent

parent 81d7fd9b
Pipeline #219 failed with stage
in 3 seconds
......@@ -6,37 +6,37 @@ 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"
artifacts:
paths:
- public
only:
- master
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"
artifacts:
paths:
- public
only:
- 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"
artifacts:
paths:
- public
only:
- devel
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"
artifacts:
paths:
- public
only:
- devel
Markdown is supported
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