Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tal7aouy committed Dec 20, 2023
1 parent c9c19fe commit 8c91908
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy VSCode Extension

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Build extension
run: npm run build

- name: Deploy extension
run: |
vsce package
vsce publish -p ${{ secrets.VSCE_TOKEN }}
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

0 comments on commit 8c91908

Please sign in to comment.