Skip to content

Commit 52078bd

Browse files
committed
revert
1 parent f5af9f5 commit 52078bd

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/vsce_publish.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ on:
44
push:
55
branches:
66
- production
7+
release:
8+
types:
9+
- created
710

811
jobs:
912
build:
1013
runs-on: ubuntu-latest
11-
env:
12-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
13-
bump_success: ${{ false }}
14-
1514
steps:
1615
- name: Checkout
1716
uses: actions/checkout@v3
@@ -21,16 +20,7 @@ jobs:
2120
node-version: 16.x
2221
- name: Install extension
2322
run: npm install
24-
25-
# bump version and publish using vsce
26-
- name: Publish version
27-
run: npm run deploy 0.2.4 --githubBranch production
28-
29-
# create tags and push to origin
30-
- name: Create tag
31-
uses: actions/create-release@v1
23+
- name: Deploy with PAT
24+
run: npm run deploy
3225
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
with:
35-
tag_name: '${{github.ref}}'
36-
release_name: '${{github.ref}}'
26+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)