From e6ea11218d42a03a65cb815716f6df9870f0e8d0 Mon Sep 17 00:00:00 2001 From: Woody_K Date: Mon, 15 Apr 2024 17:00:25 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=BD=94=EB=93=9C=20=EC=A0=95?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{maven.yml => cicd.yml} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename .github/workflows/{maven.yml => cicd.yml} (90%) diff --git a/.github/workflows/maven.yml b/.github/workflows/cicd.yml similarity index 90% rename from .github/workflows/maven.yml rename to .github/workflows/cicd.yml index f497912..363efaa 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/cicd.yml @@ -1,11 +1,10 @@ name: CI-CD on: push: - branches: [ "master" , "develop", "feature/ci-cd" ] + branches: [ "master" , "develop" ] jobs: build: - runs-on: ubuntu-latest steps: @@ -26,7 +25,7 @@ jobs: - name: Build with Maven run: mvn package ${{ secrets.MAVEN_PACKAGE_OPTIONS }} - - name : upload file + - name : delivery uses: appleboy/scp-action@master with: host: ${{ secrets.SSH_IP }} @@ -37,7 +36,7 @@ jobs: target: "~/" rm: false - - name: execute shell script + - name: deploy uses: appleboy/ssh-action@master with: host: ${{ secrets.SSH_IP }}