snap: Add missing sudo in Travis deploy step
Running the build step with sudo necessitates running the deploy step with sudo too. Otherwise, we face permission problems.
This commit is contained in:
parent
65ab59503a
commit
dcc80de730
@ -38,13 +38,13 @@ jobs:
|
|||||||
script: ./.travis/build-snap.sh
|
script: ./.travis/build-snap.sh
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
script: ./.travis/deploy-snap.sh edge
|
script: sudo ./.travis/deploy-snap.sh edge
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
tags: false
|
tags: false
|
||||||
- provider: script
|
- provider: script
|
||||||
script: ./.travis/deploy-snap.sh edge,beta
|
script: sudo ./.travis/deploy-snap.sh edge,beta
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
Loading…
Reference in New Issue
Block a user