.gitlab-ci.yml 234 Bytes
Newer Older
Jorge Tardío Rubio's avatar
Jorge Tardío Rubio committed
1
pages:
Jorge Tardío Rubio's avatar
Jorge Tardío Rubio committed
2
  image:  docker:latest
Jorge Tardío Rubio's avatar
Jorge Tardío Rubio committed
3
4
5
  stage: deploy
  only:
    - main
Jorge Tardío Rubio's avatar
Jorge Tardío Rubio committed
6
7
  script: 
    - docker run --rm -v ${PWD}:/docs jtr0/mkdocs-material:prod build --verbose --site-dir public --no-directory-urls
Jorge Tardío Rubio's avatar
Jorge Tardío Rubio committed
8
9
10
  artifacts:
    paths:
      - public