From a0534d63ca6ee98b5a721ccc1fb21798bd2edea5 Mon Sep 17 00:00:00 2001 From: jinddings Date: Mon, 11 Nov 2024 18:40:39 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20chore=20:=20deploy=20produ?= =?UTF-8?q?ction(dev)=20yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-production.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index cf0c3cd9..e2cdb2a2 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -2,9 +2,9 @@ name: deploy on: push: - branches: [main] + branches: [dev] pull_request: - branches: [main] + branches: [dev] env: DOCKER_IMAGE: ${{ vars.DOCKERHUB_USERNAME }}/juga-docker @@ -14,6 +14,7 @@ jobs: build-and-deploy: runs-on: ubuntu-latest strategy: + max-parallel: 1 matrix: app: [ @@ -22,7 +23,7 @@ jobs: ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v4 @@ -38,9 +39,11 @@ jobs: - name: Install dependencies working-directory: ./${{matrix.app.dir}} + continue-on-error: true run: npm ci - name: Run tests + if: ${{ matrix.app.name == 'be' }} working-directory: ./${{matrix.app.dir}} run: npm test env: