File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 29
29
- cat ./coverage/lcov.info | codacy-coverage
30
30
- rm ./config/local.json
31
31
32
- after_success :
33
- - if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]; then
34
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
35
- docker push humanconnection/api-feathers:alpha;
36
- fi
32
+ deploy :
33
+ # deploy master to the production environment
34
+ - provider : script
35
+ script : docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push humanconnection/api-feathers:alpha;
36
+ on :
37
+ branch : master
38
+
39
+ # after_success:
40
+ # - if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]; then
41
+ # docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
42
+ # docker push humanconnection/api-feathers:alpha;
43
+ # fi
You can’t perform that action at this time.
0 commit comments