From 9185d42c859fbaeb3cbee538faa0dea54c384d54 Mon Sep 17 00:00:00 2001 From: Chris Tremblay <62187826+chtrembl@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:34:26 -0400 Subject: [PATCH] Update petstoreapp_ci_cd_to_appservice.yml --- .github/workflows/petstoreapp_ci_cd_to_appservice.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/petstoreapp_ci_cd_to_appservice.yml b/.github/workflows/petstoreapp_ci_cd_to_appservice.yml index fd6f653c..75bcd6e9 100644 --- a/.github/workflows/petstoreapp_ci_cd_to_appservice.yml +++ b/.github/workflows/petstoreapp_ci_cd_to_appservice.yml @@ -20,6 +20,10 @@ jobs: - name: Checking the file system listing for Pet Store App run: | ls -al + - name: Build the Soul Machines React app + run: cd petstore/petstoreapp/soulmachines-react-app | npm install | npm run build + - name: Copy minified Soul Machines React app to Spring Boot static resources + run: mv build/static/ ../src/main/resources/static | mv build/index.html ../src/main/resources/templates - name: Update the version.json run: echo -n -e "{\"version\":\"${{ github.sha }}\",\"date\":\"$(date '+%m-%d-%Y %H:%M:%S')\"}" > petstore/petstoreapp/src/main/resources/static/content/version.json - run: cat petstore/petstoreapp/src/main/resources/static/content/version.json