@@ -26,28 +26,28 @@ jobs:
26
26
with :
27
27
java-version : ' 17'
28
28
distribution : ' temurin'
29
- - name : Set up refname build
30
- if : github.event.inputs.build-refname
31
- run : |
32
- git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY ${{ github.event.inputs.build-refname }}
33
- export BUILD_REFNAME=${{ github.event.inputs.build-refname }}
34
- echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV
35
- export BUILD_VERSION=$(git cat-file --textconv FETCH_HEAD:pom.xml | python3 -c "import xml.etree.ElementTree as xml; from sys import stdin; print(xml.parse(stdin).getroot().find('{http://maven.apache.org/POM/4.0.0}version').text)")
36
- echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV
29
+ # - name: Set up refname build
30
+ # if: github.event.inputs.build-refname
31
+ # run: |
32
+ # git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY ${{ github.event.inputs.build-refname }}
33
+ # export BUILD_REFNAME=${{ github.event.inputs.build-refname }}
34
+ # echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV
35
+ # export BUILD_VERSION=$(git cat-file --textconv FETCH_HEAD:pom.xml | python3 -c "import xml.etree.ElementTree as xml; from sys import stdin; print(xml.parse(stdin).getroot().find('{http://maven.apache.org/POM/4.0.0}version').text)")
36
+ # echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV
37
37
- name : Run Antora
38
38
run : |
39
39
./mvnw antora
40
40
- name : Publish Docs
41
- uses : spring-io/spring-doc-actions/rsync-antora-reference@v0.0.11
41
+ uses : spring-io/spring-doc-actions/rsync-antora-reference@v0.0.18
42
42
with :
43
43
docs-username : ${{ secrets.DOCS_USERNAME }}
44
44
docs-host : ${{ secrets.DOCS_HOST }}
45
45
docs-ssh-key : ${{ secrets.DOCS_SSH_KEY }}
46
46
docs-ssh-host-key : ${{ secrets.DOCS_SSH_HOST_KEY }}
47
47
site-path : target/antora/site
48
48
# - name: Bust Cloudflare Cache
49
- # uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.11
49
+ # uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.18
50
50
# with:
51
51
# context-root: spring-ai
52
52
# cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
53
- # cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
53
+ # cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
0 commit comments