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 9074e4d commit b3324bc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582
- name: Build with Gradle Wrapper
env:
DB_URL: ${{ secrets.DB_URL }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_URL: ${{ secrets.DB_URL }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
run: ./gradlew build
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -58,5 +58,4 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~/umpa/umpa-backend
scp -r $GITHUB_WORKSPACE/builds ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:~/umpa/umpa-backend
echo "File copied to remote server"
scp -r $GITHUB_WORKSPACE/builds/ ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:~/umpa/umpa-backend

0 comments on commit b3324bc

Please sign in to comment.