Skip to content

Commit

Permalink
remove detect changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
praxxus11 committed Aug 4, 2024
1 parent 12e16e7 commit 864ea9c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build-deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,7 @@ env:
GITLAB_REGISTRY_TOKEN: ${{ secrets.GITLAB_REGISTRY_TOKEN }}

jobs:
detect-changes:
runs-on: ubuntu-20.04
outputs:
gateway: ${{ steps.paths_filter.outputs.gateway }}
nginx: ${{ steps.paths_filter.outputs.nginx }}
steps:
- name: Execute paths filter.
uses: dorny/paths-filter@v3
id: paths_filter
with:
filters: |
gateway:
- "./gateway/**"
nginx:
- "./nginx/**"
build-gateway:
needs: detect-changes
if: ${{ needs.detect-changes.outputs.gateway == 'true' }}
runs-on: ubuntu-20.04
steps:
- name: Check out repo.
Expand All @@ -46,8 +29,6 @@ jobs:
--push \
./gateway
build-nginx:
needs: detect-changes
if: ${{ needs.detect-changes.outputs.nginx == 'true' }}
runs-on: ubuntu-20.04
steps:
- name: Check out repo.
Expand All @@ -66,7 +47,6 @@ jobs:
deploy:
runs-on: ubuntu-20.04
needs: [build-gateway, build-nginx]
if: ${{ always() && !failure() && !cancelled() }}
steps:
- name: Check out repo.
uses: actions/checkout@v4
Expand Down

0 comments on commit 864ea9c

Please sign in to comment.