From 25b466422b2d5704755fa0da249e178ac8c4204f Mon Sep 17 00:00:00 2001 From: Nereziel Date: Sun, 19 Nov 2023 19:02:26 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d800c8a..8d231543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,7 @@ jobs: run: dotnet build ${{ env.PROJECT_PATH }} -c WeaponPaints -o ${{ env.OUTPUT_PATH }} publish: + if: github.event_name == 'push' permissions: write-all runs-on: ubuntu-latest needs: build @@ -72,4 +73,4 @@ jobs: name: "Build ${{ env.BUILD_NUMBER }}" tag: "build-${{ env.BUILD_NUMBER }}" body: | - Place the plugin in game/csgo/addons/counterstrikesharp/plugins/WeaponPaints \ No newline at end of file + Place the plugin in game/csgo/addons/counterstrikesharp/plugins/WeaponPaints