chg docker img
This commit is contained in:
parent
16168287e5
commit
d8041de991
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user