diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f853b33..6760f99 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: Build with Gradle run: ./gradlew build -x test - - name: Deploy with SSH + - name: Deploy with SSH if: github.ref == 'refs/heads/main' uses: appleboy/ssh-action@master