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:
|
||||
- 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
|
||||
|
||||
variables:
|
||||
GIT_DEPTH: 0
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
@ -23,3 +39,4 @@ pages:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user