Skip to content

Instantly share code, notes, and snippets.

@desaijay315
Created October 25, 2019 14:04
Show Gist options
  • Save desaijay315/738558998c692f015b74ace88a6d4a7d to your computer and use it in GitHub Desktop.
Save desaijay315/738558998c692f015b74ace88a6d4a7d to your computer and use it in GitHub Desktop.
sudo: required
services:
- docker
before_install:
- docker build -t beingjd/docker-nodeauth -f Dockerfile .
script:
- docker run -e CI=true beingjd/docker-nodeauth npm test
deploy:
provider: elasticbeanstalk
region: 'ap-south-1'
app: 'docker-nodeauth'
env: 'DockerNodeauth-env'
bucket_name: 'elasticbeanstalk-ap-south-1-583044482327'
bucket_path: 'docker-nodeauth'
on:
branch: master
access_key_id:
secure: $AWS_ACCESS_KEY
secret_access_key:
secure: $AWS_SECRET_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment