Commit 5641f737 authored by Cecile Cavet's avatar Cecile Cavet
Browse files

files

parent 2955e55b
Pipeline #8756 passed with stage
in 1 minute and 27 seconds
image: python:alpine
# When using dind, it's wise to use the overlayfs driver for improved performance.
variables:
DOCKER_DRIVER: overlay2
# CONTAINER_TEST_IMAGE: gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:$CI_BUILD_REF_NAME
CONTAINER_TEST_IMAGE: gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:test
CONTAINER_RELEASE_IMAGE: gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:latest
IMAGE_TAG: lisadpc
before_script:
- pip install mkdocs
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-material
stages:
- build
build:
image: docker:17.07
tags:
- dind
stage: build
pages:
script:
- export DOCKER_API_VERSION=1.23
- pwd && ls
- df -h
- ls -lart /builds/elisadpc/docker
- ls -lart /builds/elisadpc/docker.tmp
- du -sh /cache
# - export IMAGE_TAG=$(echo -en $CI_BUILD_REF_NAME | tr -c '[:alnum:]_.-' '-')
# - docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
# - docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" elisadpc/.
# - docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
- mkdocs build
- mv site public
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
# Welcome to MkDocs
This is a test site hosted on [GitLab Pages](https://pages.gitlab.io). You can
[browse its source code](https://gitlab.com/pages/mkdocs), fork it and start
using it on your projects.
For full documentation visit [mkdocs.org](http://mkdocs.org).
## Commands
* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs help` - Print this help message.
## Project layout
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
site_name: My Docs by GitLab Pages
site_url: https://pages.gitlab.io/mkdocs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment