Skip to content

Commit

Permalink
snap: deploy: fix authentication (iterative#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Mar 29, 2020
1 parent eeb6b60 commit 617014f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ deploy:
stage: build
- provider: script
skip_cleanup: true
script: "timeout 600 snapcraft push dvc_*.snap --release $SNAP_CHANNEL || echo timed out"
script: "(echo $SNAP_TOKEN | snapcraft login --with -) && timeout 600 snapcraft push dvc_*.snap --release $SNAP_CHANNEL || echo timed out"
on:
all_branches: true
condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap) && ($TRAVIS_BRANCH = master || -n $TRAVIS_TAG)"
Expand Down

0 comments on commit 617014f

Please sign in to comment.