From 324347e32865e7acb14a1cae224d8f455148d4ec Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Mon, 6 Apr 2020 18:32:18 -0400 Subject: [PATCH] Only deploy on main branch --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5ac31cd..09c97f1 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -6,7 +6,7 @@ on: jobs: deploy: runs-on: ubuntu-latest - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'sprockets/sprockets-postgres' container: python:3.8-alpine steps: - name: Checkout repository