File tree Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -49,24 +49,36 @@ jobs:
49
49
- stage : deploy
50
50
script : grunt package && grunt compress:uploadBuild && echo $TRAVIS_BRANCH && echo $TRAVIS_TAG
51
51
before_script : skip
52
+ before_deploy : |
53
+ function keep_alive() {
54
+ while true; do
55
+ echo -en "\a"
56
+ sleep 5
57
+ done
58
+ }
59
+ keep_alive &
52
60
env :
53
61
- JOB=deploy
54
62
deploy :
55
- - provider : gcs
56
- access_key_id : GOOGLDB7W2J3LFHICF3R
57
- secret_access_key :
58
- secure : tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
59
- bucket : ng-i-1121e.appspot.com
60
- local-dir : upload
61
- skip_cleanup : true
62
- detect_encoding : true # detects gzip compression and sets the correct metadata in gcs
63
- on :
64
- repo : angular/angular.js
65
63
- provider : firebase
66
64
skip_cleanup : true
67
65
project : google.com:angular-sites
68
66
token :
69
67
secure : tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
70
68
on :
71
69
repo : angular/angular.js
70
+ # condition: $TRAVIS_BRANCH = chore-firebase
71
+ branch : chore-firebase
72
+ # - provider: gcs
73
+ # access_key_id: GOOGLDB7W2J3LFHICF3R
74
+ # secret_access_key:
75
+ # secure: tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
76
+ # bucket: ng-i-1121e.appspot.com
77
+ # local-dir: upload
78
+ # skip_cleanup: true
79
+ # detect_encoding: true # detects gzip compression and sets the correct metadata in gcs
80
+ # on:
81
+ # repo: angular/angular.js
82
+ # branch: chore-firebase
83
+ # condition: $TRAVIS_TAG != on_failurese || ($TRAVIS_PR == false && $TRAVIS_BRANCH = master) || $TRAVIS_BRANCH = chore-firebase
72
84
You can’t perform that action at this time.
0 commit comments