Commit 2b25f7b1 authored by Jorge Tardío Rubio's avatar Jorge Tardío Rubio
Browse files

Update .gitlab-ci.yml

parent 57780ad1
pages:
image: docker:latest
# image: docker:latest
image: jtr0/mkdocs-material:prod
stage: deploy
only:
- main
services:
- docker:19.03.0-dind
# services:
# - docker:19.03.0-dind
before_script:
- docker info
# before_script:
# - docker info
script:
- docker build -t jtr0/mkdocs-material:prod -f mkdocs-material:prod.Dockerfile .
- docker run --rm -p 8000:8000 -v ${PWD}:/docs jtr0/mkdocs-material:prod build --verbose --site-dir public --no-directory-urls
# - docker build -t jtr0/mkdocs-material:prod -f mkdocs-material:prod.Dockerfile .
# - docker run --rm -p 8000:8000 -v ${PWD}:/docs jtr0/mkdocs-material:prod build --verbose --site-dir public --no-directory-urls
- build --verbose --site-dir public --no-directory-urls
artifacts:
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment