Commit 6a0e0fe3 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

[cicd] deployment to testserver, tomcat upload

parent 2fd9af67
Pipeline #220 passed with stage
in 5 seconds
...@@ -33,8 +33,8 @@ pages-devel: ...@@ -33,8 +33,8 @@ pages-devel:
- cp -r includes .public - cp -r includes .public
- cp *.html .public - cp *.html .public
- mv .public public - mv .public public
- scp -r public/* ubuntu@193.196.52.30:"$EXPORT_PAGES_DIR" - UPLOADPATH=file://$(pwd)/public
- ssh -t ubuntu@193.196.52.30 "sudo chown tomcat:tomcat $EXPORT_PAGES_DIR" - curl --upload-file $WARPATH -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true&war=$UPLOADPATH"
artifacts: artifacts:
paths: paths:
- public - public
......
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