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