From c1cb8c7399307d2bff900661e327c45ef673c5ce Mon Sep 17 00:00:00 2001 From: Neel Dalsania Date: Wed, 5 Feb 2025 15:11:34 +0530 Subject: [PATCH] drop unused code (#5) * drop unused code * drop the condition --- .github/workflows/push-to-main.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/push-to-main.yaml b/.github/workflows/push-to-main.yaml index 0a2903b..f2ca5c7 100644 --- a/.github/workflows/push-to-main.yaml +++ b/.github/workflows/push-to-main.yaml @@ -2,17 +2,11 @@ name: Deploy (checkdeployaction) on: push: branches: [dev, main] - # tags: - # - '*' - # pull_request: - # types: - # - closed - # branches: [main] + pull_request: workflow_dispatch: jobs: job-1: - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' env: ASTRO_API_TOKEN: ${{ secrets.ASTRO_API_TOKEN }} runs-on: ubuntu-latest