Skip to content

Commit ac387a6

Browse files
committed
Deploy to open.vsx
1 parent d8c0727 commit ac387a6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ install:
2727
- npm run vscode:prepublish
2828

2929
before_deploy:
30+
- npm install -g ovsx
3031
- npm install -g vsce
3132
- vsce package
3233

@@ -49,15 +50,14 @@ deploy:
4950
branch: master
5051
tags: true
5152
condition: $TRAVIS_OS_NAME = linux
52-
# - provider: releases # Deploy the *.vsix pcakge to GitHub releases.
53-
# file_glob: true
54-
# file: "*.vsix"
55-
# skip_cleanup: true
56-
# on: # Due to a limitation with releases, we can only deploy them on tags.
57-
# repo: haskell/vscode-haskell
58-
# branch: master
59-
# tags: true
60-
# condition: $TRAVIS_OS_NAME = linux
53+
- provider: script # Deploy to VS Code Market Place (only on tags!).
54+
script: ovsx publish -p $OPEN_VSX_ACCESS_TOKEN
55+
skip_cleanup: true
56+
on: # Publish on all builds on master branch.
57+
repo: haskell/vscode-haskell
58+
branch: master
59+
tags: true
60+
condition: $TRAVIS_OS_NAME = linux
6161

6262
notifications:
6363
email: false

0 commit comments

Comments
 (0)