Skip to content
Snippets Groups Projects
.gitlab-ci.yml 691 B
Newer Older
Joseph Kantel's avatar
Joseph Kantel committed
pages:
  stage: deploy
  script:
  # tar may be the easiest way to copy an arbitrary
  # list of files, keeping the directory structure.
  # Include *.js and *.css to accomodate Monika.
  - cp -r css fonts img js player index.html .public
  - cp prod-config.xml .public/config.xml
  - cp opponents/listing.xml .public/opponents
  - find `python opponents/list_opponents.py` -iname "*.png" -o -iname "*.gif" -o -iname "*.jpg" -o -iname "*.xml" -o -iname "*.js" -o -iname "*.css" | tar -cT - | tar -C .public -x
  - python opponents/gzip_dialogue.py .public/opponents/*/behaviour.xml
  - mv .public public
  artifacts:
    paths:
    - public
  only: