From 8f8a2d70a8be6618b38cbc6ff038ede22aef625c Mon Sep 17 00:00:00 2001 From: mitagmio Date: Sun, 29 Oct 2023 10:27:57 +0300 Subject: [PATCH] Update main.yml build only main branch --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8979473..c320874 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,7 @@ jobs: build: name: Build runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - name: executing remote ssh commands using ssh key uses: appleboy/ssh-action@v1.0.0