Skip to content
Snippets Groups Projects
.gitlab-ci.yml 876 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 version-info.xml .public
  - sed "s/__CI_COMMIT_SHA/${CI_COMMIT_SHA}/g" 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
  - python opponents/analyze_image_space.py .public/opponents
Patrickisdom's avatar
Patrickisdom committed
#  - python opponents/copy_event_alts.py .public/ ./ valentines
  - mv .public public
  artifacts:
    paths:
    - public
  only: