25개 이상의 토픽을 선택하실 수 없습니다. 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.
 
 
 
 
 
 

26 lines
413 B

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