diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 9e48b9f..74416ef 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -87,6 +87,7 @@ jobs: name: Deploy to kubernetes stage environment needs: build-and-publish runs-on: [self-hosted, Linux] + if: github.ref == 'refs/heads/main' environment: stage steps: - name: Checkout repository