Skip to content

Commit

Permalink
#64 [ENV] : jar파일 전달 jop작성
Browse files Browse the repository at this point in the history
  • Loading branch information
hye-on committed Apr 19, 2024
1 parent 73bb722 commit 872cfff
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/cicd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,18 @@ jobs:
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build -x test
run: ./gradlew build

- name: Deliver File
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
port: 22
source: "build/libs/TogetUp-0.0.1-SNAPSHOT.jar"
target: "source"
rm: true

- name: Deploy
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit 872cfff

Please sign in to comment.