summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristoph Schlosser <2466365+cschlosser@users.noreply.github.com>2021-05-26 22:13:37 +0200
committerGitHub <noreply@github.com>2021-05-26 22:13:37 +0200
commit638cfe09c56b8e75cf3dfa77652f51312766bd36 (patch)
treef4e6c3be5183c1319b4f109b9bb787268d186261 /.github
parent37b3f9a1fd09087313feac6b510e7610815a6e20 (diff)
downloaddoxdocgen-638cfe09c56b8e75cf3dfa77652f51312766bd36.tar.gz
Add open vsx (#235)
Replace gitter.im with IRC
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cd.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 96e9a8d..01c207e 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -25,7 +25,7 @@ jobs:
- run: yarn
- name: Install VSCE
- run: yarn add vsce -D
+ run: yarn add vsce ovsx -D
- name: Update $PATH
run: echo "$PWD/node_modules/.bin/" >> $GITHUB_PATH
@@ -33,12 +33,18 @@ jobs:
- name: Build vsix
run: vsce package && ls -alh
- - name: Deploy to Marketplace
+ - name: Publish to VS Code Marketplace
run: vsce publish -p ${VSCE_TOKEN}
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
if: contains(github.ref, 'refs/tags/')
+ - name: Publish to Open VSX Registry
+ run: ovsx publish
+ env:
+ OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}
+ if: contains(github.ref, 'refs/tags/')
+
- name: Upload vsix to GitHub release
uses: svenstaro/upload-release-action@v2
with: