From 3ca47b33c02d59ec039ac18907bb83bf4c8a07cc Mon Sep 17 00:00:00 2001 From: Jannis Jorre Date: Mon, 15 Nov 2021 09:41:14 +0100 Subject: [PATCH] Create deploy-open-vsx.yml --- .github/workflows/deploy-open-vsx.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/deploy-open-vsx.yml diff --git a/.github/workflows/deploy-open-vsx.yml b/.github/workflows/deploy-open-vsx.yml new file mode 100644 index 0000000..cca85f8 --- /dev/null +++ b/.github/workflows/deploy-open-vsx.yml @@ -0,0 +1,24 @@ +on: + push: + tags: + - "*" + +name: Deploy Extension +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm ci + - name: Publish to Open VSX Registry + uses: HaaLeo/publish-vscode-extension@v0 + with: + pat: ${{ secrets.OPEN_VSX_TOKEN }} + # - name: Publish to Visual Studio Marketplace + # uses: HaaLeo/publish-vscode-extension@v0 + # with: + # pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} + # registryUrl: https://marketplace.visualstudio.com