Skip to content

Commit

Permalink
Merge pull request #587 from nhsuk/fix/travis-ci-config
Browse files Browse the repository at this point in the history
fix issue with Travis CI by opting into v2 deployment tooling
  • Loading branch information
chrimesdev authored Feb 17, 2020
2 parents e0361d7 + b90c8b8 commit f1e11b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
script: npm run build-gh-release
deploy:
provider: releases
api_key: $GITHUB_TOKEN
edge: true
token: $GITHUB_TOKEN
file_glob: true
file: ./dist/nhsuk-frontend-*.zip
skip_cleanup: true
Expand All @@ -60,8 +61,9 @@ jobs:
name: publish to npm
deploy:
provider: npm
edge: true
email: $NPM_EMAIL
api_key: $NPM_API_KEY
api_token: $NPM_API_KEY
on:
tags: true
skip_cleanup: true

0 comments on commit f1e11b3

Please sign in to comment.