move build process to gitlab CI using python docker image
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
pages:
|
||||
stage: deploy
|
||||
image:
|
||||
name: python:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- echo "No public folder, we have to copy mkdocs site folder to a new 'public/' folder"
|
||||
- cp -r mkdocs/site .public
|
||||
- mv .public public
|
||||
- pip install mkdocs-material
|
||||
- mkdocs build --site-dir public
|
||||
# List of tags that are used to select a runner.
|
||||
tags:
|
||||
- shared
|
||||
- gitlab-pages
|
||||
- shell
|
||||
- docker
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- main
|
||||
- main
|
||||
|
||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
1
theme/pushme.txt
Normal file
1
theme/pushme.txt
Normal file
@@ -0,0 +1 @@
|
||||
pushme
|
||||
Reference in New Issue
Block a user