Skip to content

Commit 7d3668d

Browse files
authored
create action for deployement
1 parent bc77b77 commit 7d3668d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm ci
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v2
18+
with:
19+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
20+
# - name: Publish to Visual Studio Marketplace
21+
# uses: HaaLeo/publish-vscode-extension@v2
22+
# with:
23+
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
24+
# registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)