From f199506939069c0877ecb4fe7faf50bdc967fc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B0=80=EC=98=81?= Date: Tue, 30 Jul 2024 14:16:59 +0900 Subject: [PATCH] chore: github actions yaml --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72f1fe0..270a918 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,11 +36,15 @@ jobs: - name: Build with Gradle run: ./gradlew build -x test + - name: List build/libs contents + run: ls -la build/libs + - name: Docker build run: | docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker build -t ${{ secrets.DOCKER_USERNAME }}/sopo . docker push ${{ secrets.DOCKER_USERNAME }}/sopo:latest + - name: Deploy with SSH if: github.ref == 'refs/heads/main'