basket-api: error handling return 404 when customer cart does not ex… #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: basket-api | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- 'src/backend/services/basket-api/**' | |
- '.github/workflows/basket-api.yml' | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- 'src/backend/services/basket-api/**' | |
- '.github/workflows/basket-api.yml' | |
jobs: | |
build-release: | |
uses: ./.github/workflows/build-release.yml | |
with: | |
service-name: basket-api | |
secrets: inherit | |
deploy: | |
if: github.ref == 'refs/heads/develop' | |
needs: | |
- build-release | |
uses: ./.github/workflows/deploy.yml | |
with: | |
service-name: basket-api | |
version: ${{ needs.build-release.outputs.new-version }} | |