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 11, 2024
1 parent d58b313 commit 0f29053
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:antora
- 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-consul</artifactId>
<version>4.1.2-SNAPSHOT</version>
<version>4.1.3-SNAPSHOT</version>
</parent>

<name>Spring Cloud Consul 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 0f29053

Please sign in to comment.