Skip to content

Add workflow_dispatch. #1

Add workflow_dispatch.

Add workflow_dispatch. #1

name: Deploy Extension
on: workflow_dispatch
on:

Check failure on line 5 in .github/workflows/deploy-extension.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-extension.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20
- uses: pnpm/[email protected]
- run: pnpm install --dir ./packages/vscode
- run: pnpm run build
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
packagePath: ./packages/vscode
registryUrl: https://marketplace.visualstudio.com