chg docker img

This commit is contained in:
Grégory Lebreton 2023-01-02 23:38:30 +01:00
parent 16168287e5
commit d8041de991

View File

@ -1,19 +1,35 @@
image: python:3.9.2-alpine # image: python:3.9.2-alpine
# before_script:
# - apk update && apk add git
# - pip install -r requirements.txt
# test:
# stage: test
# script:
# - mkdocs build --strict --verbose --site-dir test
# artifacts:
# paths:
# - test
# except:
# - master
# pages:
# stage: deploy
# script:
# - mkdocs build --strict --verbose
# artifacts:
# paths:
# - public
# only:
# - master
image: python:3.8-buster
before_script: before_script:
- apk update && apk add git
- pip install -r requirements.txt - pip install -r requirements.txt
variables:
test: GIT_DEPTH: 0
stage: test
script:
- mkdocs build --strict --verbose --site-dir test
artifacts:
paths:
- test
except:
- master
pages: pages:
stage: deploy stage: deploy
script: script:
@ -23,3 +39,4 @@ pages:
- public - public
only: only:
- master - master