Skip to content

Commit

Permalink
fix: deploy.sh 파일 권한 설정 단계 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hanueleee committed Dec 31, 2023
1 parent bf1261f commit e905647
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cicd-be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
- name: SCP transfer
run: scp *.jar ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }}:~/deploy

- name: Set execute permission for deploy.sh
run: chmod +x ./deploy.sh

- name: Execute remote shell script
run: |
ssh ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "./deploy.sh"

0 comments on commit e905647

Please sign in to comment.