Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Oct 18, 2023
2 parents f8cb6cd + b8a8a57 commit d24bca1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/petstoreapp_ci_cd_to_appservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ 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 petstore/petstoreapp/soulmachines-react-app/build/static/ petstore/petstoreapp/src/main/resources/static
mv petstore/petstoreapp/soulmachines-react-app/build/index.html petstore/petstoreapp/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
Expand Down

0 comments on commit d24bca1

Please sign in to comment.