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. - mkdir -p .public/opponents - 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: - master