Skip to content

Commit

Permalink
👷 Setup deploy on release action
Browse files Browse the repository at this point in the history
  • Loading branch information
harastaivan committed Nov 25, 2022
1 parent 99ef538 commit 23074a7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy

on:
release:
types:
- released

jobs:
publish-marketplace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x

- name: Install
run: yarn install --frozen-lockfile

- name: Deploy to marketplace
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 23074a7

Please sign in to comment.