Skip to content

Commit 4bdf52b

Browse files
committed
Stop publishing docs for 2.6.x release
1 parent 26307db commit 4bdf52b

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/update-website.yaml

+1-23
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,14 @@ jobs:
2828
git branch --set-upstream-to=origin/main
2929
git pull
3030
31-
- name: Apicurio Playbook Checkout
32-
run: |
33-
mkdir docs-playbook
34-
cd docs-playbook
35-
git init
36-
git config --global user.name "apicurio-ci"
37-
git config --global user.email "apicurio.ci@gmail.com"
38-
git remote add origin "https://apicurio-ci:${{ secrets.ACCESS_TOKEN }}@github.com/Apicurio/apicurio-docs-playbook.git"
39-
git fetch
40-
git checkout main
41-
git branch --set-upstream-to=origin/main
42-
git pull
43-
44-
- name: Generate Project Documentation for Website
45-
run: |
46-
echo "********** Building Registry Documentation using Antora **********"
47-
cd docs-playbook
48-
docker pull apicurio/apicurio-docs-builder:latest
49-
docker run -v $(pwd):/apicurio-docs-playbook apicurio/apicurio-docs-builder:latest
50-
rm -rf ../website/registry/docs/*
51-
cp -rf target/dist/* ../website/registry/docs/.
52-
5331
- name: Fetch required Details
5432
run: echo "RELEASE_VERSION=$(curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest | jq '.name' | sed 's/"//g')" >> $GITHUB_ENV
5533

5634
- name: Updating Project Website for Release ${{ env.RELEASE_VERSION }}
5735
run: |
5836
cd website
5937
echo "********** Replacing Existing Latest Release JSON File **********"
60-
cd _data/registry
38+
cd _data/registry-v2
6139
rm latestRelease.json
6240
touch latestRelease.json && curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest > latestRelease.json
6341

0 commit comments

Comments
 (0)