-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from ii2day/release-v0.2
Release v0.2.1
- Loading branch information
Showing
718 changed files
with
11,732 additions
and
5,167 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
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
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
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
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 |
---|---|---|
|
@@ -51,8 +51,25 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ env.REF }} | ||
|
||
- name: Set main branch docs to dev (latest) | ||
id: main_docs | ||
if: ${{ env.REF == 'main' }} | ||
run: | | ||
pip install mkdocs==1.5.2 mike==1.1.2 mkdocs-material==9.2.8 | ||
git config user.email "[email protected]" | ||
git config user.name "robot" | ||
cp ./docs/mkdocs.yml ./ | ||
mike deploy --rebase -b ${{ env.MERGE_BRANCH }} dev -t "dev (${{ env.REF }})" | ||
rm -rf ./site && rm -rf ./mkdocs.yml | ||
git checkout -f ${{ env.MERGE_BRANCH }} | ||
rm -rf ./charts && rm -rf ./index.yaml && rm -rf ./changelogs | ||
tar -czvf ./site.tar.gz * | ||
ls | ||
echo "push document version `dev` from branch ${{ env.REF }}." | ||
- name: Extract Version | ||
id: extract | ||
if: ${{ env.REF != 'main' }} | ||
run: | | ||
if ! grep -E "^[[:space:]]*v[0-9]+.[0-9]+.[0-9]+[[:space:]]*$" VERSION &>/dev/null ; then | ||
echo "not a release version, skip generating doc." | ||
|
@@ -82,7 +99,7 @@ jobs: | |
- name: build doc site | ||
id: build_doc | ||
if: ${{ env.SKIP_ALL_JOB != 'true' }} | ||
if: ${{ env.SKIP_ALL_JOB != 'true' && env.REF != 'main' }} | ||
run: | | ||
git checkout ${{ env.REF }} | ||
ls | ||
|
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
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
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 +1,2 @@ | ||
v0.2.0 | ||
v0.2.1 | ||
|
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
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
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
Oops, something went wrong.