Skip to content

Commit

Permalink
Remove publish docs from update-website workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Jun 17, 2024
1 parent 021bd00 commit b0fc17b
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/update-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit b0fc17b

Please sign in to comment.