Commit ab819954 authored by 神楽坂玲奈's avatar 神楽坂玲奈

travis

parent d8105ffa
services:
- docker
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t mycard/ygopro-server:latest .
......@@ -8,12 +7,11 @@ script:
- docker run --rm -v "$PWD/output:/output" mycard/ygopro-server:latest -e 'require("child_process").execSync("cp -rf ./* /output")'
- cd output && tar -zcf ../dist/ygopro-server.tar.gz --format=posix --exclude='.git*' ./* && cd ..
- docker push mycard/ygopro-server:latest
deploy:
provider: s3
access_key_id: ztDf0fCxr0eCgSIi
secret_access_key:
secure: pjWuLKCdhR8B4RqaF+filHCBiyQWhUJa/nXQp/2mzzzxtkYiP8POP2zTuw6PCHWeIJz2lTzPmhxShOwoPGx3YdwHEjZEjP/B3xX0PsI+ZDxFfNskFClglqbfAO3f29YwBtEeFoBukWWq5tgiGrCOyIVIdtJyqIpl+lgrSxk6JuaXJ1s+7wy+C2BIGVeoGxuBhBIfKrBHyvusDxvCa+/KXuCfduiscnSPtLYIC4qTXbgiUv3eOrj5AygBlzQ5MUXYG8oIVgWoKv8E2gk7JmhDfntNIhIwBgI0ZXVUFkwwtwxAOc2BIQUEE68oG8gonSbkCq+Q8g74xiO9fXxbDT1Z5aHIHZyMzVTTzA8lAE2F6259D2ResxQy0FkU7Ai3eza9ESPbxKORZSgHxs4jdh9BhMpWyX8Kj0mzaf4xh8yJ0Sbg75Io2PNFHUE+Q7U5IguQ6yZatRbTDOQ58mHJEd8tXR7kYB0C98Jv1Z664Pa3w9/YHdlSWW7xSlGMAz/aGCtszdh+tV9X52oQSzAJmxyKs0WwmLjUt52v7R0WftOhlUzltzP/PgR6eaq86FFxQycvBqAHmVRSQsdsuC0bb9j2bQG9zWcmhxoDGaVDk7Cmx0yBRhvoKrWonalXgswHmZI31HADTihkbH/mT6NE39XMsdtBoAcFwPrfqCmDfNTMmb4=
secure: Bm63Gi9Ok19pxhPiCbNnXlRYCmxxZWsj/PfxqGm1ruWLxinjJfpQHSRzSNTb/j0D8kK3uzUB+9MjrtcA5Nnfby4r+zuU+gvpW+3hOX2TiEtCSqYjenQmSsLD5WelMrBHXwfAQ5jOBzkdtC0vX4UTLAGcwJ8DhL9CbMJi0ZqDK9o=
bucket: mycard
skip_cleanup: true
local-dir: dist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment