Skip to content

Commit

Permalink
Feat: 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
TGoddessana committed Dec 18, 2024
1 parent 99078d6 commit d15a982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: umpa-backend-${{ github.sha }}
path: build/libs/*.jar
path: builds/

deploy:
runs-on: ubuntu-latest
Expand All @@ -48,7 +48,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: umpa-backend-${{ github.sha }}
path: build/libs/
path: builds/
- name: Deploy to Remote Server using SSH
uses: appleboy/[email protected]
with:
Expand All @@ -58,5 +58,5 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~/umpa/umpa-backend
scp -r $GITHUB_WORKSPACE/build/libs/*.jar ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:~/umpa/umpa-backend
scp -r $GITHUB_WORKSPACE/builds/*.jar ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:~/umpa/umpa-backend
echo "File copied to remote server"

0 comments on commit d15a982

Please sign in to comment.