File tree 1 file changed +1
-23
lines changed
1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -28,36 +28,14 @@ jobs:
28
28
git branch --set-upstream-to=origin/main
29
29
git pull
30
30
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
-
53
31
- name : Fetch required Details
54
32
run : echo "RELEASE_VERSION=$(curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest | jq '.name' | sed 's/"//g')" >> $GITHUB_ENV
55
33
56
34
- name : Updating Project Website for Release ${{ env.RELEASE_VERSION }}
57
35
run : |
58
36
cd website
59
37
echo "********** Replacing Existing Latest Release JSON File **********"
60
- cd _data/registry
38
+ cd _data/registry-v2
61
39
rm latestRelease.json
62
40
touch latestRelease.json && curl https://api.github.com/repos/apicurio/apicurio-registry/releases/latest > latestRelease.json
63
41
You can’t perform that action at this time.
0 commit comments