From 1ba094cf2be663ac62d4e9d22773bc718800bc59 Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Tue, 2 Apr 2024 21:21:42 +0300 Subject: [PATCH] Run `deploy` only on release (#129) --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3849c7d..7f93bfa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -173,6 +173,9 @@ jobs: # Dispatch a separate deployment workflow in a private repository deploy: + # Remove this if we end up adding more environments than just NuGet + if: ${{ github.event_name == 'release' }} + needs: - version - format