Skip to content

Merge pull request #355 from openmainframeproject/Developer #38

Merge pull request #355 from openmainframeproject/Developer

Merge pull request #355 from openmainframeproject/Developer #38

on:
push:
branches:
- 'main'
paths:
- 'vs-code-extension/**'
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./vs-code-extension
environment: production
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm install
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_CODE_EXTENTION_SECRET }}
registryUrl: https://marketplace.visualstudio.com
packagePath: ./vs-code-extension