From 6ed412bb899bbf412fc6cdbf6bfea5a81359302e Mon Sep 17 00:00:00 2001 From: Janis Blatsios Date: Tue, 12 Mar 2024 01:07:02 +0100 Subject: [PATCH] =?UTF-8?q?testy=20=C5=BCeby=20si=C4=99=20kopiowa=C5=82o?= =?UTF-8?q?=20DEPLOY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 03c8e34..0c1b55a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,7 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven + working-directory: komornik run: mvn -B package --file pom.xml -Dmaven.test.skip=true - name: Login to Docker Hub uses: docker/login-action@v3 @@ -46,5 +47,6 @@ jobs: username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_SSH_KEY }} port: ${{ secrets.PORT }} - source: "komornik-0.0.1-SNAPSHOT.jar" + overwrite: true + source: "komornik/." target: "/home/ubuntu/Documents/" \ No newline at end of file