From 6a17775f07456a97e3f4f7c90e77ad173250f6d2 Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Wed, 6 Sep 2023 19:00:31 +0100 Subject: [PATCH] only deploy uses prod env --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b40a0f..a30cbf8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,8 +60,7 @@ jobs: documentation: runs-on: ubuntu-latest - environment: prod - needs: build # for ignoring bad builds + needs: [build, deploy] # for ignoring bad builds if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v3 # get source @@ -118,7 +117,6 @@ jobs: package: runs-on: ubuntu-latest - environment: prod needs: [build] # for ignoring bad builds if: github.event_name == 'push' && github.ref == 'refs/heads/master'