From 5825411fc8690814bdf50b8cf9d06fe08038a6f1 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 5 Feb 2025 17:09:27 -0500 Subject: [PATCH] Final change to publish workflow --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc1b38c..bf0adae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,11 +67,9 @@ jobs: name: vscode-extension path: dist/*.vsix - - name: Fake Publish (If Fork) or Real Publish + - name: Publish to marketplace run: | - if [ "${{ github.repository_owner }}" = "hhpatel14" ]; then - echo "This is a fork. Running fake publish..." - else - echo "This is the main repo. Publishing to VS Code Marketplace..." - vsce publish --pat ${{ secrets.VSCE_TOKEN }} + if [ "${{ github.repository_owner }}" = "migtool" ]; then + echo "Publishing to VS Code Marketplace..." + vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} fi