From 57bbb90e709f7df8d2542b87aa740be7a9e50d82 Mon Sep 17 00:00:00 2001 From: allison <67673392+Allybe@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:17:36 -0500 Subject: [PATCH] more worky to server --- .gitea/workflows/deploy.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 950d221..25aa620 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -26,12 +26,15 @@ jobs: - name: Build and Package with Maven run: mvn clean package -DskipTests + - name: Rename JAR locally + run: mv target/*-jar-with-dependencies.jar target/notifier.jar + - name: Deploy JAR to Server uses: appleboy/scp-action@master with: host: ${{ secrets.SERVER_IP }} username: ${{ secrets.SERVER_USERNAME }} password: ${{ secrets.SERVER_PASSWORD }} - source: "target/*-jar-with-dependencies.jar" - target: "/opt/notifier/notifier.jar" + source: "target/notifier.jar" + target: "/opt/notifier" strip_components: 1 \ No newline at end of file