Skip to content
Snippets Groups Projects
Verified Commit e65041f1 authored by Robotka István Adrián's avatar Robotka István Adrián
Browse files

add mkdocs project

parents
Branches
No related tags found
No related merge requests found
Pipeline #3225 passed
stages:
- Docker build
- Deploy
variables:
CONTAINER_IMAGE: "registry.kszk.bme.hu/kubernetes/website:$CI_COMMIT_REF_NAME"
before_script:
- echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$CI_REG_USER\",\"password\":\"$CI_REG_PASS\"}}}" > /kaniko/.docker/config.json
docker build:
stage: Docker build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
FROM python:slim
RUN pip3 install mkdocs && \
rm -r /root/.cache
ADD . /docs/
WORKDIR /docs
RUN mkdocs build
ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
# Kubernetes a KSZK-ban weboldal
Megtalálod itt: kubernetes.sch.bme.hu
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
## Weboldal generálás
Ez a repo [MkDocs](https://www.mkdocs.org/) segítségével generál statikus HTML
kódot a docs/ mappából az mkdocs.yml fájl alapján Docker környezetben.
# Kubernetes a KSZK-ban
site_name: k8s@kszk
nav:
- Home: index.md
theme: readthedocs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment