Skip to content

Commit

Permalink
🔥fix: 배포 스크립트의 master branch 조건 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
daehyeon authored and kohmlab committed Feb 28, 2023
1 parent 94cb7c1 commit 59ca3b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
shell: bash

- name: prod Docker build & push
if: contains(github.ref, 'master')
run: |
docker login ${{ secrets.NCP_DOCKER_REGISTRY }} -u ${{ secrets.NCP_ACCESS_KEY }} -p ${{ secrets.NCP_SECRET_KEY }}
docker build -f Dockerfile -t ${{ secrets.NCP_DOCKER_REGISTRY }}/pimo-prod .
Expand All @@ -52,7 +51,6 @@ jobs:
- name: Deploy to Prod
uses: appleboy/ssh-action@master
id: deploy-prod
if: contains(github.ref, 'master')
with:
host: ${{ secrets.NCP_PROD_SERVER_IP }}
username: ${{ secrets.NCP_PROD_SERVER_USER }}
Expand Down

0 comments on commit 59ca3b8

Please sign in to comment.