variables:
  GIT_SUBMODULE_STRATEGY: recursive

pages:
  image: davidbergstrom/pycommandcenterenv
  stage: deploy
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make -j $(nproc) library
    - cd ../docs
    - make html
    - cd ..
    - cp -r docs/_build/html/* public
  artifacts:
    paths:
      - public
  only:
    - master