diff --git a/.github/workflows/build-test-deploy.yaml b/.github/workflows/build-test-deploy.yaml index a612ce6a4..734e180e7 100644 --- a/.github/workflows/build-test-deploy.yaml +++ b/.github/workflows/build-test-deploy.yaml @@ -506,6 +506,8 @@ jobs: DOXYGEN_CONFIG_FILE: doxygen.conf steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Run run: ./.travis/build-docs.sh build-gitstats: diff --git a/.travis/build-docs.sh b/.travis/build-docs.sh index 40f6af15d..727f71cbf 100755 --- a/.travis/build-docs.sh +++ b/.travis/build-docs.sh @@ -23,8 +23,7 @@ set -eu -o pipefail sudo apt-get update -qq sudo apt-get install doxygen graphviz -# can fail due to travis cloning only `depth=50` -GIT_DESC=$(git describe --tags 2>/dev/null || echo HEAD) +GIT_DESC=$(git describe --tags 2>/dev/null) GIT_CHASH=$(git rev-parse HEAD) # Append git version to doxygen version string