Skip to content

Commit

Permalink
⚙️ chore : deploy production(dev) yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 11, 2024
1 parent 0cf7bca commit a0534d6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -14,6 +14,7 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
app:
[
Expand All @@ -22,7 +23,7 @@ jobs:
]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -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:
Expand Down

0 comments on commit a0534d6

Please sign in to comment.