Skip to content
Snippets Groups Projects
Verified Commit d2325276 authored by Martin Weise's avatar Martin Weise
Browse files

Deploy on THOAS2

parent 4fbbb632
No related branches found
No related tags found
No related merge requests found
Pipeline #4914 failed
......@@ -3,6 +3,7 @@ site/
tmp/
node_modules/
*.bkp
site.tar.gz
## Cache
**/__pycache__/**
......
......@@ -18,10 +18,14 @@ verify:
build:
mkdocs build
build-swagger:
cd ./swagger && UPDATE=1 ./generate.sh
configure:
sudo certbot certonly --standalone --preferred-challenges http -d dbrepo-docs.ossdip.at --agree-tos --keep-until-expiring
deploy:
sudo cp -r ./site/* /usr/share/nginx/html/dbrepo-docs.ossdip.at/
deploy: build
tar czfv ./site.tar.gz ./site
scp ./site.tar.gz ec-thoas2:site.tar.gz
ssh ec-thoas2 "rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/*; tar xzfv ./site.tar.gz; rm -f ./site.tar.gz; cp -r ./site/* /system/user/ifs/infrastructures/public_html/dbrepo; rm -rf ./site"
......@@ -12,17 +12,17 @@ hide:
### Project
Ao.univ.Prof. Dr. [Andreas Rauber](//tiss.tuwien.ac.at/person/39608.html)<br />
Technische Universität Wien<br />
Technische Universit&auml;t Wien<br />
Information and Software Engineering Group<br />
Favoritenstraße 9-11<br />
Favoritenstra&szlig;e 9-11<br />
A-1040 Vienna, Austria
### Development
Projektass. Dipl.-Ing. [Martin Weise](//tiss.tuwien.ac.at/person/287722.html)<br />
Technische Universität Wien<br />
Technische Universit&auml;t Wien<br />
Information and Software Engineering Group<br />
Favoritenstraße 9-11<br />
Favoritenstra&szlig;e 9-11<br />
A-1040 Vienna, Austria
## Contributors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment