From 5f6ef854a3e2cd95d4aacbe46029950811b3c6fd Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Sat, 5 Sep 2020 08:49:50 +0200 Subject: [PATCH] chore: add auto-release --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..bcb2986 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }}