Skip to content

Commit

Permalink
Run 'mvn spring-boot:run' in background for documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes authored Nov 3, 2023
1 parent b7a4266 commit 321335e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
if: steps.changes.outputs.server == 'true'

- name: Generate openapi.json
run: cd server && mvn spring-boot:run && sleep 15 && curl -q http://localhost:8080/ui/api-docs -o server/target/openapi.json && pkill -f java
run: cd server && mvn spring-boot:run & && sleep 15 && curl -q http://localhost:8080/ui/api-docs -o server/target/openapi.json && pkill -f java
if: steps.changes.outputs.server == 'true'

- name: Test api-specs with redoc-cli
Expand Down

0 comments on commit 321335e

Please sign in to comment.