From 3dea0bd70cd175f1147adf5e16058bd011ce6c4c Mon Sep 17 00:00:00 2001 From: Olya Gupalo Date: Fri, 27 Sep 2024 18:10:13 +0300 Subject: [PATCH] Add prepapre static resources step --- .github/workflows/github-actions-spring-boot-webserver.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions-spring-boot-webserver.yml b/.github/workflows/github-actions-spring-boot-webserver.yml index 632d840..fc6a5e1 100644 --- a/.github/workflows/github-actions-spring-boot-webserver.yml +++ b/.github/workflows/github-actions-spring-boot-webserver.yml @@ -20,9 +20,7 @@ jobs: - name: Run Spring Boot Web Server run: | # Prepapre static resources - cd src/main/resources/ - unzip static.zip - cd ../../.. + unzip src/main/resources/static.zip # # Build JAR (Debian Slim) @@ -67,7 +65,7 @@ jobs: docker images webserver # Restore defaults - git clean -fd . + git clean -fd static/ - name: Archive production artifacts uses: actions/upload-artifact@v4 with: