Skip to content

Commit

Permalink
[hotfix][docs][release] Update the building branch in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangXingBo committed Sep 5, 2022
1 parent df0bc11 commit 44ee6ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
matrix:
branch:
- master
- release-1.16
- release-1.15
- release-1.14
- release-1.13
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -42,8 +42,8 @@ jobs:
echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV}
if [ "${currentBranch}" = "master" ]; then
echo "flink_alias=release-1.16" >> ${GITHUB_ENV}
elif [ "${currentBranch}" = "release-1.15" ]; then
echo "flink_alias=release-1.17" >> ${GITHUB_ENV}
elif [ "${currentBranch}" = "release-1.16" ]; then
echo "flink_alias=stable" >> ${GITHUB_ENV}
fi
- name: Build documentation
Expand Down
1 change: 1 addition & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pygmentsUseClasses = true
]

PreviousDocs = [
["1.16", "http://nightlies.apache.org/flink/flink-docs-release-1.16"],
["1.15", "http://nightlies.apache.org/flink/flink-docs-release-1.15"],
["1.14", "http://nightlies.apache.org/flink/flink-docs-release-1.14"],
["1.13", "http://nightlies.apache.org/flink/flink-docs-release-1.13"],
Expand Down

0 comments on commit 44ee6ba

Please sign in to comment.