From ee03991449a321be5b714189b8baf038818bad48 Mon Sep 17 00:00:00 2001 From: Andrew Lapp Date: Sat, 20 Jul 2024 10:34:38 -0500 Subject: [PATCH] doit --- .github/workflows/publish_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_documentation.yml b/.github/workflows/publish_documentation.yml index 4d37c6e3c..d03911cc4 100644 --- a/.github/workflows/publish_documentation.yml +++ b/.github/workflows/publish_documentation.yml @@ -32,7 +32,7 @@ jobs: env: GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} run: | - TAG=$(git describe --tags --abbrev=0 || echo "main") + TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "main") TAG_EXISTS=$(git describe --tags --exact-match 2>/dev/null && echo "true" || echo "false") if [ "$TAG_EXISTS" = "true" ]; then mike deploy --update-aliases --push --branch gh-pages $TAG