chore: add auto-release

This commit is contained in:
Mattia Astorino 2020-09-05 08:49:50 +02:00
parent 783119e249
commit 5f6ef854a3
No known key found for this signature in database
GPG key ID: CDFA82D8B1132C65

22
.github/workflows/release.yml vendored Normal file
View 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 }}