Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
fix(Travis): Go back to zip deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Jul 15, 2019
1 parent 2cecc9f commit f697112
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ jobs:
- stage: Build and Deploy
if: tag IS present
os: osx
before_deploy: echo "{\"apiKey\":\"$BUNGIE_API_KEY\",\"clientId\":\"$BUNGIE_CLIENT_ID\",\"clientSecret\":\"$BUNGIE_CLIENT_SECRET\"}" > config/bungieApp.json
before_script: echo "{\"apiKey\":\"$BUNGIE_API_KEY\",\"clientId\":\"$BUNGIE_CLIENT_ID\",\"clientSecret\":\"$BUNGIE_CLIENT_SECRET\"}" > config/bungieApp.json
script: npm run make
before_deploy: zip -r "$TRAVIS_OS_NAME.zip" ./out/make/*
deploy:
provider: script
provider: releases
api_key: "$GH_TOKEN"
skip_cleanup: true
script: npm run publish
file: "$TRAVIS_OS_NAME.zip"
on:
all_branches: true # We rely on the stage condition.
- stage: Build and Deploy
Expand All @@ -56,10 +59,14 @@ jobs:
- yarn config delete proxy
- npm config rm proxy
- npm config rm https-proxy
before_deploy: echo "{\"apiKey\":\"$BUNGIE_API_KEY\",\"clientId\":\"$BUNGIE_CLIENT_ID\",\"clientSecret\":\"$BUNGIE_CLIENT_SECRET\"}" > config/bungieApp.json
before_script: echo "{\"apiKey\":\"$BUNGIE_API_KEY\",\"clientId\":\"$BUNGIE_CLIENT_ID\",\"clientSecret\":\"$BUNGIE_CLIENT_SECRET\"}" > config/bungieApp.json
script: npm run make
before_deploy:
- choco install zip
- zip -r "$TRAVIS_OS_NAME.zip" ./out/make/*
deploy:
provider: script
skip_cleanup: true
script: npm run publish
script: node tools/releaseWindows.js "$GITHUB_TOKEN"
on:
all_branches: true # We rely on the stage condition.

0 comments on commit f697112

Please sign in to comment.