Skip to content

Commit

Permalink
Fix Antora setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek committed Jul 15, 2024
1 parent 3e98c62 commit 64791a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV
- name: Run Antora
run: |
./mvnw --no-transfer-progress -B antora
./mvnw --no-transfer-progress -B antora -Pdocs
- name: Publish Docs
uses: spring-io/spring-doc-actions/[email protected]
with:
Expand Down
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-build</artifactId>
<version>2023.0.3-SNAPSHOT</version>
<version>2023.0.4-SNAPSHOT</version>
</parent>

<name>Spring Cloud Release Docs Build</name>
Expand All @@ -34,4 +34,21 @@
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>spring-snapshot</id>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>spring-milestone</id>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
</project>

0 comments on commit 64791a9

Please sign in to comment.