From fef79d92e75f9b6d525501e986a0eb8295e77fcd Mon Sep 17 00:00:00 2001 From: toothlessdev Date: Sat, 13 Jan 2024 22:34:09 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20jobs=20=EC=9D=B8=EB=8D=B4=ED=8A=B8?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6713a8b..a61b60f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,19 +7,19 @@ on: branches: - release - jobs: - deployment: - runs-on: ubuntu-latest +jobs: + deployment: + runs-on: ubuntu-latest - steps: - - name: Connecting SSH & Pull Release Branch - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{secrets.DEPLOY_SERVER_HOST}} - password: ${{secrets.DEPLOY_SERVER_PASSWORD}} - port: ${{secrets.DEPLOY_SERVER_PORT}} - script: | - cd stocodi-web - git fetch - git pull origin release - ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo ./deploy.sh + steps: + - name: Connecting SSH & Pull Release Branch + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{secrets.DEPLOY_SERVER_HOST}} + password: ${{secrets.DEPLOY_SERVER_PASSWORD}} + port: ${{secrets.DEPLOY_SERVER_PORT}} + script: | + cd stocodi-web + git fetch + git pull origin release + ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo ./deploy.sh