File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- production
7
+ release :
8
+ types :
9
+ - created
7
10
8
11
jobs :
9
12
build :
10
13
runs-on : ubuntu-latest
11
- env :
12
- VSCE_PAT : ${{ secrets.VSCE_PAT }}
13
- bump_success : ${{ false }}
14
-
15
14
steps :
16
15
- name : Checkout
17
16
uses : actions/checkout@v3
21
20
node-version : 16.x
22
21
- name : Install extension
23
22
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
32
25
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 }}
You can’t perform that action at this time.
0 commit comments