Skip to content

Commit

Permalink
try another travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuteau committed Aug 24, 2019
1 parent 97a89d8 commit d3898f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
- stage: deploy
name: create release file on github
provider: releases
before_deploy:
before_script:
- APIKEY="$WEB_EXT_API_KEY"
- APISECRET="$WEB_EXT_API_SECRET"
- unset WEB_EXT_API_KEY
- unset WEB_EXT_API_SECRET
- npm run release
node_js:
- '10'
Expand All @@ -44,6 +48,11 @@ jobs:
node_js:
- '10'
WEB_EXT_CHANNEL: listed
before_script:
- APIKEY="$WEB_EXT_API_KEY"
- APISECRET="$WEB_EXT_API_SECRET"
- unset WEB_EXT_API_KEY
- unset WEB_EXT_API_SECRET
provider: script
skip_cleanup: true
script: "npm run release:amo"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"scripts": {
"test": "web-ext lint",
"build": "web-ext build",
"sign": "web-ext sign",
"sign": "web-ext sign --api-key=$APIKEY --api-secret=$APISECRET",
"release:amo": "npm run build && web-ext run",
"release": "npm run build && npm run sign"
"release": "npm run sign"
}
}

0 comments on commit d3898f0

Please sign in to comment.