mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Specify container image in GitLab CI job instead of globally (#6224)
This commit is contained in:
parent
371ed7744c
commit
ee9f1f4952
@ -152,9 +152,9 @@ contents:
|
|||||||
=== "Material for MkDocs"
|
=== "Material for MkDocs"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
image: python:latest
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: python:latest
|
||||||
script:
|
script:
|
||||||
- pip install mkdocs-material
|
- pip install mkdocs-material
|
||||||
- mkdocs build --site-dir public
|
- mkdocs build --site-dir public
|
||||||
@ -168,9 +168,9 @@ contents:
|
|||||||
=== "Insiders"
|
=== "Insiders"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
image: python:latest
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: python:latest
|
||||||
script: # (1)!
|
script: # (1)!
|
||||||
- pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
- pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
||||||
- mkdocs build --site-dir public
|
- mkdocs build --site-dir public
|
||||||
|
Loading…
Reference in New Issue
Block a user