From d4a3d9a050400bd474360f6bfeadf4959f7ff5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=20=EC=8A=B9=20=EC=97=B0?= <53565255+seungyeonn-i@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:32:29 +0900 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index b396895..6676c7b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -41,24 +41,24 @@ docker tag app ${{ secrets.DOCKER_USERNAME }}/member:latest docker push ${{ secrets.DOCKER_USERNAME }}/member:latest - - name: docker-compose.yml - uses: appleboy/scp-action@master - with: - username: ec2-user - host: ${{ secrets.HOST }} - key: ${{ secrets.PRIVATE_KEY }} - port: ${{ secrets.PORT }} - source: "./docker-compose-member.yml" - target: "/home/ec2-user/" + # - name: docker-compose.yml + # uses: appleboy/scp-action@master + # with: + # username: ec2-user + # host: ${{ secrets.HOST }} + # key: ${{ secrets.PRIVATE_KEY }} + # port: ${{ secrets.PORT }} + # source: "./docker-compose-member.yml" + # target: "/home/ec2-user/" - - name: Deploy - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.HOST }} - username: ec2-user - key: ${{ secrets.PRIVATE_KEY }} - script: | - docker pull ${{ secrets.DOCKER_USERNAME }}/member:latest - docker image prune -a -f - docker-compose up -d + # - name: Deploy + # uses: appleboy/ssh-action@master + # with: + # host: ${{ secrets.HOST }} + # username: ec2-user + # key: ${{ secrets.PRIVATE_KEY }} + # script: | + # docker pull ${{ secrets.DOCKER_USERNAME }}/member:latest + # docker image prune -a -f + # docker-compose up -d