Skip to content

Commit

Permalink
ci: enable updateDocs PR check (#2488)
Browse files Browse the repository at this point in the history
* ci: enable updateDocs PR check

* deps: revert to spring-cloud-build 4.0.5 to fix docs generation

* ci: simplify updateDocs PR check to avoid git branch checkouts
  • Loading branch information
burkedavison authored Dec 19, 2023
1 parent 4621c5a commit c99705d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/updateDocs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Update Docs

on:
pull_request:
push:
branches:
- main
Expand Down Expand Up @@ -62,5 +63,5 @@ jobs:
elif [[ -n "${{ github.event.inputs.committish }}" ]] && [[ "${{ github.event.inputs.committish }}" != "main" ]] ; then
./docs/src/main/asciidoc/ghpages.sh --version ${{ github.event.inputs.committish }} --destination . --build
else
./docs/src/main/asciidoc/ghpages.sh --build
./mvnw install -P docs -P '!CI' -pl docs -DskipTests # Simplified PR check
fi
2 changes: 1 addition & 1 deletion docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>4.1.0</version>
<version>4.0.5</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down

0 comments on commit c99705d

Please sign in to comment.