Skip to content
Snippets Groups Projects
Verified Commit 14c1bcfc authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Changed deployment process to be more reliable

parent e727fd93
No related branches found
No related tags found
No related merge requests found
FROM squidfunk/mkdocs-material as builder
COPY . /docs
COPY docs /docs/docs
COPY theme /docs/theme
COPY mkdocs.yml /docs/
RUN mkdocs build
FROM nginx:stable-alpine
......
#!/bin/sh
IMAGE=k8r.eu/justjanne/quasseldroid-docs
TAGS=$(git describe --always --tags HEAD)
docker build -t $IMAGE:$TAGS .
docker tag $IMAGE:$TAGS $IMAGE:latest
echo Successfully tagged $IMAGE:latest
docker push $IMAGE:$TAGS
docker push $IMAGE:latest
\ No newline at end of file
#!/bin/sh
IMAGE=k8r.eu/justjanne/quasseldroid-docs
TAGS=$(git describe --always --tags HEAD)
DEPLOYMENT=docs
POD=docs
kubectl -n quasseldroid set image deployment/$DEPLOYMENT $POD=$IMAGE:$TAGS
\ No newline at end of file
......@@ -4,11 +4,6 @@ site_description: 'A short description of my project'
site_author: 'Janne Koschinski'
site_url: 'https://quasseldroid.info/docs/'
# Repository
repo_name: 'sandsmark/QuasselDroid'
repo_url: 'https://github.com/sandsmark/QuasselDroid'
edit_uri: ""
# Copyright
copyright: 'Copyright © 2017 Janne Koschinski'
......@@ -28,8 +23,8 @@ extra:
social:
- type: 'globe'
link: 'https://quasseldroid.info/'
- type: 'github-alt'
link: 'https://github.com/sandsmark/QuasselDroid'
- type: 'git'
link: 'https://git.kuschku.de/justjanne/quasseldroid-ng'
theme:
name: 'material'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment