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

updated ci/cd

parent d9611178
No related branches found
No related tags found
No related merge requests found
Pipeline #2310 failed
......@@ -6,18 +6,18 @@ stages:
configure-certs:
stage: configure
script:
- sudo certbot certonly --standalone --preferred-challenges http -d dbrepo-docs.ossdip.at --agree-tos --keep-until-expiring
- make configure
build-mkdocs:
stage: build
needs:
- configure-certs
script:
- mkdocs build
- make build
deploy-mkdocs:
stage: deploy
needs:
- build-mkdocs
script:
- sudo cp -r ./site/* /usr/share/nginx/html/dbrepo-docs.ossdip.at/
- make deploy
......@@ -17,7 +17,9 @@ verify:
build:
mkdocs build
sudo cp -r ./site/* /usr/share/nginx/html/dbrepo-docs.ossdip.at/
install: build
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/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment