-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove publish docs from update-website workflow
- Loading branch information
1 parent
021bd00
commit b0fc17b
Showing
1 changed file
with
1 addition
and
23 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -23,28 +23,6 @@ jobs: | |
git branch --set-upstream-to=origin/main | ||
git pull | ||
- name: Apicurio Playbook Checkout | ||
run: | | ||
mkdir docs-playbook | ||
cd docs-playbook | ||
git init | ||
git config --global user.name "apicurio-ci" | ||
git config --global user.email "[email protected]" | ||
git remote add origin "https://apicurio-ci:${{ secrets.ACCESS_TOKEN }}@github.com/Apicurio/apicurio-docs-playbook.git" | ||
git fetch | ||
git checkout main | ||
git branch --set-upstream-to=origin/main | ||
git pull | ||
- name: Generate Project Documentation for Website | ||
run: | | ||
echo "********** Building Registry Documentation using Antora **********" | ||
cd docs-playbook | ||
docker pull apicurio/apicurio-docs-builder:latest | ||
docker run -v $(pwd):/apicurio-docs-playbook apicurio/apicurio-docs-builder:latest | ||
rm -rf ../website/registry/docs/* | ||
cp -rf target/dist/* ../website/registry/docs/. | ||
- name: Fetch required Details | ||
run: echo "RELEASE_VERSION=$(curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest | jq '.name' | sed 's/"//g')" >> $GITHUB_ENV | ||
|
||
|
@@ -56,7 +34,7 @@ jobs: | |
rm latestRelease.json | ||
touch latestRelease.json && curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest > latestRelease.json | ||
echo "********** Saving a copy in the archieve **********" | ||
echo "********** Saving a copy in the archive **********" | ||
cp latestRelease.json releases/${RELEASE_VERSION}.json | ||
- name: Commit Project Website Changes | ||
|