Skip to content

Commit

Permalink
Update petstoreapp_ci_cd_to_appservice.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl authored Oct 18, 2023
1 parent 9185d42 commit 3db0d06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/petstoreapp_ci_cd_to_appservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ jobs:
run: |
ls -al
- name: Build the Soul Machines React app
run: cd petstore/petstoreapp/soulmachines-react-app | npm install | npm run build
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
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
Expand Down

0 comments on commit 3db0d06

Please sign in to comment.