Skip to content

Commit

Permalink
⚙️ chor: deploy yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 5, 2024
1 parent ed7b3dd commit 44a5627
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ env:
DOCKER_TAG: ${{ github.sha }}

jobs:
login:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-and-deploy:
runs-on: ubuntu-latest

Expand All @@ -24,12 +33,6 @@ jobs:
cache: 'npm'
cache-dependency-path: ./BE/package-lock.json

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install dependencies
working-directory: ./BE
run: npm ci
Expand Down

0 comments on commit 44a5627

Please sign in to comment.