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