Skip to content

Commit 52b9454

Browse files
fix(.github): change release type and if (#92)
1 parent 131319d commit 52b9454

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@ name: Deploy
22

33
on:
44
release:
5-
types:
6-
- created
5+
types: [released]
76

87
env:
98
# Specific name is required to login: https://code.visualstudio.com/api/working-with-extensions/continuous-integration
109
VSCE_PAT: ${{ secrets.VSCE_PAT }}
1110

1211
jobs:
1312
build:
14-
if: startsWith( github.ref, 'refs/tags/releases/')
1513
name: Publish Extension from Release
1614
runs-on: ubuntu-20.04
1715

@@ -23,5 +21,8 @@ jobs:
2321
with:
2422
node-version: 16.x
2523

24+
- name: Install Dependencies
25+
run: npm install
26+
2627
- name: Publish
2728
run: npm run deploy

0 commit comments

Comments
 (0)