Setup Travis to auto build releases when a tag is created
This commit is contained in:
parent
53fc51b255
commit
08503f15d7
3 changed files with 18 additions and 3 deletions
13
.travis.yml
13
.travis.yml
|
@ -13,3 +13,16 @@ install:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm run ci
|
- npm run ci
|
||||||
|
before_deploy:
|
||||||
|
- openssl aes-256-cbc -K $encrypted_9d2af3734b6c_key -iv $encrypted_9d2af3734b6c_iv -in src/environments/environment.prod.ts.enc -out src/environments/environment.prod.ts -d
|
||||||
|
- openssl aes-256-cbc -K $encrypted_9d2af3734b6c_key -iv $encrypted_9d2af3734b6c_iv -in src/environments/environment.dev.ts.enc -out src/environments/environment.dev.ts -d
|
||||||
|
- ./bin/build-releases
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key:
|
||||||
|
secure: IZKEl1/LnzCN4/uMPKqUktURoNFjDmrybGKwrKbTPS27iXLrC9x4NwrQnOgipLF5h6Jeee4Qf1LhFCEpL/VTBTGMljQU2uOUFqn7TTGV5Ok7wxn2Z4CYeLDHMqDeGEECidAs8pB7I8lQvk5iUqmQT0NbuB0tDgavM9XCAecGUrFHh2tQaqPRGgZ1Q+1QB5d68EItSncMFKgRKja3Jq3u6ArF3uR3qY0dx9UKgcSUkKMnYbkBoEmiuCthdtwsH6WiIp4+K5GnVkGWxFa6KwdUJseHvUCuwS0Jp6lz47fP75xr4pHP45BxL7s549P60Iyr5AMRUge2+LPQV5QdbRH4guQV6qWI2L6Vw64fdC3lK00MhNFNO4M9p1T9eeldXhvUJwBDjzjoHlsrZysUMBy5G9CpQIVJtaPSVMWm/9yfPbu/B3k85cCHLb3fTos3altCWREIUScWIdDAHczJmmITUE9d5KljT8t2gLzCiCqB3BQ6ZzN8Ur68EIJ2ePuCO4644S+1shg5AXYDzXuUd30J57UGnuELQSMQkuZvMUQy8PmNO/iInIqpnuAwOwT4YD0MHgXrjD38a9+KszDjY+9HrIWcQE8P7AuN0iVf2voB5uLTOckkd4mXF9sskwoREVYJM+jz49HViggYyn1MHLsnlY5//vhMo5HNaf2DtT8fhk4=
|
||||||
|
file_glob: true
|
||||||
|
file: "../WebApp-Releases/*"
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
BIN
src/environments/environment.dev.ts.enc
Normal file
BIN
src/environments/environment.dev.ts.enc
Normal file
Binary file not shown.
2
src/environments/environment.prod.ts.enc
Normal file
2
src/environments/environment.prod.ts.enc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
4Q‚'DU„Ø»c+ñƒÉÌêq{½E/Àh†)Ïzú_kã†Û"%õÜ<C3B5>~ ô0M/¸†s¨Ùó¦ð¼l‡³Ïÿ<Ä‘Ö@ö]–;RÝ佨B<C2A8>Psì‚…¾õîÁ¡SªÜ¿e—7A'OÙbOÝúÏ
|
||||||
|
ƒ>£¸<C2A3>¡9Ù+¹”΄ÒÊ«aOö˜i¡úÀÝÌkñ°wfkñ•+»ž«)1³Ö
|
Reference in a new issue