From c961481121c401540c38998149df4333ee62260a Mon Sep 17 00:00:00 2001 From: Woongbin06 Date: Tue, 16 Apr 2024 16:57:17 +0900 Subject: [PATCH] =?UTF-8?q?refactor(github)=20:=20build=20=EB=8B=A8?= =?UTF-8?q?=EA=B3=84=EB=9E=91=20deploy=20=EB=8B=A8=EA=B3=84=EB=A1=9C=20?= =?UTF-8?q?=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index dc965ef..2cf0899 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,8 +25,13 @@ jobs: - name: Build with Gradle Wrapper run: ./gradlew clean build -x test + deploy: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 - name: Deploy to server - uses: appleboy/scp-action@master + uses: appleboy/scp-action@v0.1.7 with: host: ${{ secrets.SERVER_HOST }} username: ${{ secrets.SERVER_NAME }}