Skip to content

Commit

Permalink
ci(travis): Add file globbing to allow multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
terrabitz committed Aug 10, 2019
1 parent 7a4abf6 commit 58abf63
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ install:

script:
- bash ./build.sh

before_deploy:
- export FILE_TO_UPLOAD=$(ls dist/* | tr "\n" ":")

deploy:
provider: releases
api_key: "${GITHUB_KEY}"
file: "${FILE_TO_UPLOAD}"
file_glob: true
file: dist/*
skip_cleanup: true
draft: true
on:
Expand Down

0 comments on commit 58abf63

Please sign in to comment.