From 09ce2b2c814f93f61213336c870f203a96f33bca Mon Sep 17 00:00:00 2001 From: meni Date: Sun, 17 Sep 2023 20:39:53 +0300 Subject: [PATCH] add publish script using secrets.MARKETPLACE_ACCESS_TOKEN --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08c96db..80a856d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,8 @@ name: Release on: workflow_dispatch: +env: + MARKET_TOKEN: ${{ secrets.MARKETPLACE_ACCESS_TOKEN }} jobs: deploy: @@ -16,4 +18,6 @@ jobs: - name: Install dependencies run: npm ci - name: Install vcse - run: npm install -g @vscode/vsce \ No newline at end of file + run: npm install -g @vscode/vsce + - name: Publish + run: vsce publish -p "$MARKET_TOKEN" \ No newline at end of file