chore: add auto-release
This commit is contained in:
parent
783119e249
commit
5f6ef854a3
1 changed files with 22 additions and 0 deletions
22
.github/workflows/release.yml
vendored
Normal file
22
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Release Extension
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- release
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run:
|
||||
- yarn install
|
||||
- yarn build
|
||||
- uses: lannonbr/vsce-action@master
|
||||
with:
|
||||
args: "publish -p $VSCE_TOKEN"
|
||||
env:
|
||||
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
|
Loading…
Reference in a new issue