diff --git a/.travis.yml b/.travis.yml index 8c15e92..4cc40c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,18 @@ before_install: - docker build -t bn/docker-react -f Dockerfile.dev . script: - - docker run -e CI=true bn/docker-react npm run test + - docker run -e CI=true bn/docker-react npm run test + +deploy: + edge: true, + provider: elasticbeanstalk + region: "eu-central-1" + app: "docker-react" + env: "DockerReact-env" + bucket_name: "elasticbeanstalk-eu-central-1-298529962812" + bucket_path: "docker-react" + on: + branch: master + access_key_id: $AWS_ACCESS_KEY + secret_access_key: + secure: "$AWS_SECRET_KEY" \ No newline at end of file