UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 6f11e50c authored by ivanchubb's avatar ivanchubb
Browse files

new ci

parent 23963e5a
No related merge requests found
Pipeline #108030 passed with stage
in 46 seconds
image: python:latest
stages:
- build
- deploy
build_site:
stage: build
image: squidfunk/mkdocs-material
script:
- echo "Building MkDocs site..."
- mkdocs build
artifacts:
paths:
- site
only:
- main
deploy_to_pages:
pages:
stage: deploy
image: squidfunk/mkdocs-material
tags:
- docker
script:
- pip install --upgrade pip setuptools
- pip install mkdocs-material
- pip install mkdocs-glightbox
- pip install mkdocs-git-revision-date-localized-plugin
- echo "Generating HTML files from markdown..."
- echo "Building the static site with MkDocs..."
- mkdocs build --site-dir public
artifacts:
paths:
- public
only:
- main
expire_in: 1 week
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
- changes:
paths:
- docs/**
- mkdocs.yml
- .gitlab-ci.yml
\ No newline at end of file
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