Skip to content

Commit

Permalink
Deploy action (#7)
Browse files Browse the repository at this point in the history
* Deploy action

* Testing action

* Working
  • Loading branch information
boterop authored Apr 30, 2024
1 parent 702e990 commit 7cc45cc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy new version

on:
pull_request:
branches:
- main
types: closed

jobs:
release:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18.16.0

- name: Install vsce
run: npm install -g @vscode/vsce

- name: Package extension
run: vsce package

- name: Publish extension
run: vsce publish -p ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 7cc45cc

Please sign in to comment.