Skip to content

Commit

Permalink
Merge deployment sections
Browse files Browse the repository at this point in the history
  • Loading branch information
lekum committed Oct 28, 2015
1 parent a5fd6b4 commit c41836a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions circle.yml
Expand Up @@ -24,16 +24,13 @@ test:
- npm run coverage-6
- cd test/dockerized-testing-environment && docker-compose up -d && docker-compose run resonator run dockertest
deployment:
npm:
npm_dockerhub:
branch: master
commands:
- npm version $VERSION --no-git-tag-version
- "printf \"_auth=$NPM_AUTH\\nemail=$NPM_USERNAME\\n\" > npmrc"
- npm publish --userconfig npmrc
- rm npmrc
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker tag resonator:testing $DOCKERHUB_BASE/resonator:$VERSION
- docker push $DOCKERHUB_BASE/resonator:$VERSION
Expand Down

0 comments on commit c41836a

Please sign in to comment.