Skip to content

Commit

Permalink
changed to use zip format
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Feb 22, 2018
1 parent 3ff1b63 commit 577eccb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ install:

script:
- gulp build
- if [[ "$TRAVIS_TAG" != "" ]]; then echo 'Building tag artifact'; fi
- if [[ "$TRAVIS_TAG" != "" ]]; then mv ./public site_$TRAVIS_TAG; fi
- if [[ "$TRAVIS_TAG" != "" ]]; then tar -zcvf site_$TRAVIS_TAG.tgz site_$TRAVIS_TAG; fi
- if [[ "$TRAVIS_TAG" != "" ]]; then zip site_$TRAVIS_TAG.zip -r site_$TRAVIS_TAG; fi

deploy:
- provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
file: ./site_$TRAVIS_TAG.tgz
file: ./site_$TRAVIS_TAG.zip
on:
tags: true

0 comments on commit 577eccb

Please sign in to comment.