Skip to content

Commit

Permalink
Add travis job to build standalone releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
newswangerd committed Apr 2, 2020
1 parent b657990 commit ad5d783
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ jobs:
include:
- stage: Deploy
script: npm run deploy && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Standalone release
if: tag IS NOT blank
before_deploy:
- npm run build-standalone
- mv dist/ automation-hub-ui-dist/
- tar -czvf automation-hub-ui-dist.tar.gz automation-hub-ui-dist/
deploy:
provider: releases
file: automation-hub-ui-dist.tar.gz
skip_cleanup: true
api_key:
secure: "RlS9bPvhWHRq3YYsVYSNqu79jnXJ2T3VsCvogJ2XlF5D4oBPTdDOCxIjcERGUMtZKqrnu3NBW3gjL4OnMk3OEux5jCtznsb3imEnmeDfwpWba8hzrNIWlu3zlA5voIy4wU3GhsDNyFNm8TFIxZ4uC0zAYzMBgnpBGKVt2scCitpEbWsZmlyGbkwRD6QHAiMSI6rJuBlUMPR/Grzi2pCojK6TImLu3tIL632Xgvo/lorI0qX0Gr9wvA6qUZSKkN6N1hmavha4RvRa1MvLSQ7gf8Y+7Bsf798sblRvTGdBvMvjmHjJL98Ed5UCQWp6evw4YH3utSYjh+WrlIeTy9AN5qh/jL4xeowhU+DYIQp5By66qmDfENA43W3nHC7miJ9ewSF4HYPwIL2hER72lvJboXfDJsFovSF4pEpTGhcLWm1LoCS+w+KmOUI6Wm1xtA0hAtFEgXPn+FyqPJUyLItLBKLFbGB68kFD5P4Bw9MhD2AM7fQieRwDpkSDCgU96mu91aT/sGOQtsH/F6x3INOsXcl+4Ztjdy1S/1nsm4NsVpNoesVaBx33XCEB914QkCmMSXC7EJ39IVQBXCI91WoERDSQet+Gpa2+iLUV9351S7S3L/ViFKzZjH1fojlBxKbfwujKslQNdjYG4GMjQdIgmydXRfPQMg9VlFzdWcDr1yY="
on:
tags: true
env:
global:
- REPO="[email protected]:RedHatInsights/ansible-hub-ui-build.git"
Expand Down

0 comments on commit ad5d783

Please sign in to comment.