@@ -26,28 +26,28 @@ jobs:
2626 with :
2727 java-version : ' 17'
2828 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
3737 - name : Run Antora
3838 run : |
3939 ./mvnw antora
4040 - 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
4242 with :
4343 docs-username : ${{ secrets.DOCS_USERNAME }}
4444 docs-host : ${{ secrets.DOCS_HOST }}
4545 docs-ssh-key : ${{ secrets.DOCS_SSH_KEY }}
4646 docs-ssh-host-key : ${{ secrets.DOCS_SSH_HOST_KEY }}
4747 site-path : target/antora/site
4848 # - 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
5050 # with:
5151 # context-root: spring-ai
5252 # 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