Skip to content

Commit 0810f37

Browse files
committed
👷 add auto deploy to marketplace on new tag
1 parent 1f71c12 commit 0810f37

File tree

3 files changed

+1814
-1
lines changed

3 files changed

+1814
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
release:
6+
types:
7+
- created
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Install Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 16.x
19+
- run: npm install
20+
- name: Publish
21+
if: startsWith(github.ref, 'refs/tags/')
22+
run: npm run deploy
23+
env:
24+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)