We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d952e commit e5cc047Copy full SHA for e5cc047
.github/workflows/docs.yml
@@ -15,6 +15,9 @@ jobs:
15
- name: Clone Source Repository
16
uses: actions/checkout@v3
17
18
+ - name: Fetch git tags
19
+ run: git fetch --tags origin
20
+
21
- name: Clone Generated Repository
22
23
with:
scripts/build_public_docs.sh
@@ -11,6 +11,9 @@ LATEST_BRANCH="2.x"
11
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
12
TAG_NAME=$(git tag --points-at HEAD)
13
14
+echo "branch=${BRANCH_NAME}"
+echo "tag=${TAG_NAME}"
if [ "${BRANCH_NAME}" = "${NEXT_BRANCH}" ]; then
echo "Building next docs (${NEXT_BRANCH})"
env DOCS_VERSION=next sphinx-build -a docs/ docs/public/en/next/
0 commit comments