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

Pipeline/now deployments #42

Merged
merged 1 commit into from
Oct 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,18 @@ after_success:
deploy:
- provider: script
skip_cleanup: true
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
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
on:
condition: $TRAVIS_OS_NAME = linux
branch: develop
node: lts/*
- provider: script
skip_cleanup: true
script:
- npx semantic-release
script: npx semantic-release
on:
condition: $TRAVIS_OS_NAME = linux
branch: master
Expand Down