diff --git a/.github/workflows/Backend-ci .yml b/.github/workflows/Backend-ci .yml index 51c7de6..f129644 100644 --- a/.github/workflows/Backend-ci .yml +++ b/.github/workflows/Backend-ci .yml @@ -7,7 +7,7 @@ on: types: [labeled] jobs: - push-docker: + git-ci: if: "${{ github.event.label.name == 'deploy: backend' }}" runs-on: ubuntu-latest @@ -34,7 +34,11 @@ jobs: - name: Run ci run: npm ci working-directory: "backend" - + + docker-push: + needs: git-ci + runs-on: ubuntu-latest + - name: Login to Docker Hub uses: docker/login-action@v3 with: diff --git a/.github/workflows/Frontend-ci.yaml b/.github/workflows/Frontend-ci.yaml index dae6970..1ae0e1d 100644 --- a/.github/workflows/Frontend-ci.yaml +++ b/.github/workflows/Frontend-ci.yaml @@ -7,14 +7,14 @@ on: types: [labeled] jobs: - test: + git-ci: if: "${{ github.event.label.name == 'deploy: frontend' }}" runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v4 - + - name: Remove deploy label uses: actions-ecosystem/action-remove-labels@v1 with: