-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5913b0
commit d345e92
Showing
254 changed files
with
503 additions
and
24,496 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Deploy Docs | ||
run-name: ${{ format('{0} ({1})', github.workflow, github.event.inputs.build-refname || 'all') }} | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
build-refname: | ||
description: Enter git refname to build (e.g., 5.7.x). | ||
required: false | ||
push: | ||
branches: docs-build | ||
env: | ||
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} | ||
permissions: | ||
contents: write | ||
jobs: | ||
build: | ||
if: github.repository_owner == 'spring-cloud' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 5 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Set up refname build | ||
if: github.event.inputs.build-refname | ||
run: | | ||
git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY ${{ github.event.inputs.build-refname }} | ||
export BUILD_REFNAME=${{ github.event.inputs.build-refname }} | ||
echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV | ||
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)") | ||
echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV | ||
- name: Run Antora | ||
run: | | ||
./mvnw --no-transfer-progress -B antora | ||
- name: Publish Docs | ||
uses: spring-io/spring-doc-actions/[email protected] | ||
with: | ||
docs-username: ${{ secrets.DOCS_USERNAME }} | ||
docs-host: ${{ secrets.DOCS_HOST }} | ||
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }} | ||
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }} | ||
site-path: target/antora/site | ||
- name: Bust Cloudflare Cache | ||
uses: spring-io/spring-doc-actions/[email protected] | ||
with: | ||
context-root: spring-cloud-consul | ||
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }} | ||
cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
*~ | ||
#* | ||
*# | ||
.#* | ||
.classpath | ||
.project | ||
target/ | ||
.settings/ | ||
.project | ||
.classpath | ||
*.orig | ||
.springBeans | ||
target/ | ||
_site/ | ||
.idea | ||
.factorypath | ||
.sts4-cache | ||
.ant-targets-build.xml | ||
src/ant/.ant-targets-upload-dist.xml | ||
*.sonar4clipse* | ||
.DS_Store | ||
*.iml | ||
*.ipr | ||
.factorypath | ||
*.swp | ||
/consul | ||
consul_*.zip | ||
consul_*.zip.* | ||
.vscode/ | ||
.flattened-pom.xml | ||
*.iws | ||
/.idea/ | ||
*.graphml | ||
node | ||
node_modules | ||
build | ||
package.json | ||
package-lock.json |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.