Skip to content

Commit efd7c52

Browse files
committed
add vs code deployment to github actions
1 parent 279cd1a commit efd7c52

File tree

3 files changed

+1082
-7
lines changed

3 files changed

+1082
-7
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
release:
9+
types:
10+
- created
811

912
jobs:
1013
build:
@@ -29,3 +32,9 @@ jobs:
2932
uses: coverallsapp/github-action@master
3033
with:
3134
github-token: ${{ github.token }}
35+
- name: Publish
36+
needs: test
37+
if: success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest'
38+
run: npm run deploy
39+
env:
40+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)