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
Showing with 2 additions and 2 deletions
+2 -2
......@@ -33,8 +33,8 @@ pages-devel:
- 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"
- UPLOADPATH=file://$(pwd)/public
- curl --upload-file $WARPATH -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true&war=$UPLOADPATH"
artifacts:
paths:
- public
......
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