Skip to content

Commit

Permalink
Update CI-CD-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Douglas authored Dec 16, 2023
1 parent 7aa6b58 commit 5adbd19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
run: docker run api:latest pytest
deploy:
runs-on: ubuntu-latest
needs: build
needs: [build-api, build-app]
if: >-
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.deploy)
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

0 comments on commit 5adbd19

Please sign in to comment.