You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

.gitlab-ci.yml 336 B

123456789101112131415161718192021
  1. image: python:latest
  2. before_script:
  3. - pip install poetry
  4. - poetry config virtualenvs.in-project = true
  5. pages:
  6. script:
  7. - cd cours
  8. - poetry install
  9. - poetry run python build.py --werror
  10. - mv build/html ../public/
  11. artifacts:
  12. paths:
  13. - public
  14. cache:
  15. paths:
  16. - cours/.venv
  17. only:
  18. - master