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

Commit

Permalink
pipeline: move context to build folder to work around unexpected beha…
Browse files Browse the repository at this point in the history
…viour (#45)

Without this Now is ignoring most of the config and deploys it under another project.
  • Loading branch information
byCedric authored Oct 14, 2018
1 parent 11ea017 commit 935ca46
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 @@ -31,8 +31,9 @@ deploy:
script: >
npx semantic-release --dry-run --branch develop &&
npm run build &&
npx now ./build -t $NOW_TOKEN -T personal -A ./now.staging.json &&
npx now alias -A ./now.staging.json
cd build &&
npx now -t $NOW_TOKEN -T personal -A ../now.staging.json &&
npx now alias -A ../now.staging.json
on:
condition: $TRAVIS_OS_NAME = linux
branch: develop
Expand Down

0 comments on commit 935ca46

Please sign in to comment.