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