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

Deploy on THOAS2

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