Skip to content

Commit

Permalink
Update backend-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
poi1649 authored Nov 23, 2023
1 parent a954680 commit 8398247
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/backend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
checks: write

jobs:
backend-test:
build-and-push:

runs-on: ubuntu-latest

Expand Down Expand Up @@ -60,5 +60,13 @@ jobs:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}


deploy:
runs-on: self-hosted
if: ${{ needs.docker-build.result == 'success' }}
needs: [ build-and-push ]
steps:
- name: 도커 풀 / 파일 실행
run: |
sudo ~/deploy.sh

0 comments on commit 8398247

Please sign in to comment.