From 5bc09dfa5dcbd9ab0b45b6d10cb9b06ddb467345 Mon Sep 17 00:00:00 2001 From: james Hart Date: Fri, 29 Nov 2024 11:43:39 +0000 Subject: [PATCH] only deploy to prod --- .github/workflows/pipeline.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 6c5bc1f..858e4ca 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -27,22 +27,22 @@ jobs: push: true secrets: inherit - deploy_to_dev: - name: Deploy to dev - uses: ./.github/workflows/deploy.yml - needs: build - with: - environment: development - version: ${{ needs.build.outputs.version }} - secrets: inherit + # deploy_to_dev: + # name: Deploy to dev + # uses: ./.github/workflows/deploy.yml + # needs: build + # with: + # environment: development + # version: ${{ needs.build.outputs.version }} + # secrets: inherit + # Only need to deploy to production nowadays deploy_to_prod: if : github.ref == 'refs/heads/main' name: Deploy to prod uses: ./.github/workflows/deploy.yml needs: - build - - deploy_to_dev # wait for the deploy_to_dev job to complete with: environment: production version: ${{ needs.build.outputs.version }}