[CI] Inline Antora deploy docs in CI workflow
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
||||
- name: Run Antora
|
||||
run: ./gradlew antora
|
||||
- name: Copy the cache to be included in the site
|
||||
run: cp -rf build/antora/inject-collector-cache-config-extension/.cache build/site/
|
||||
run: cp -rf ./spring-pulsar-docs/src/main/antora/build/antora/inject-collector-cache-config-extension/.cache build/site/
|
||||
- name: Publish Docs
|
||||
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.11
|
||||
with:
|
||||
@@ -98,21 +98,9 @@ jobs:
|
||||
- name: Bust Clouflare Cache
|
||||
uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.11
|
||||
with:
|
||||
context-root: spring-security
|
||||
context-root: spring-pulsar
|
||||
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
||||
cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
|
||||
#
|
||||
# - name: Dispatch (partial build)
|
||||
# if: github.ref_type == 'branch'
|
||||
# env:
|
||||
# GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|
||||
# run: gh workflow run watch deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
|
||||
# - name: Dispatch (full build)
|
||||
# if: github.ref_type == 'tag'
|
||||
# env:
|
||||
# GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|
||||
# run: gh workflow run watch deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
|
||||
log_complete:
|
||||
name: Log Complete
|
||||
|
||||
Reference in New Issue
Block a user