Skip to content

Commit 1972743

Browse files
authored
Add workflow to publish to vscode marketplace
1 parent d28e8eb commit 1972743

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/publish.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
tags:
4+
- "*"
5+
6+
name: Deploy Extension
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12
15+
- run: npm ci
16+
- name: Publish to Visual Studio Marketplace
17+
uses: HaaLeo/publish-vscode-extension@v0
18+
with:
19+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
20+
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)