diff options
Diffstat (limited to '.builds')
| -rw-r--r-- | .builds/docs.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.builds/docs.yml b/.builds/docs.yml index dfa8ac9..4316feb 100644 --- a/.builds/docs.yml +++ b/.builds/docs.yml @@ -6,6 +6,9 @@ packages: - mkdocs-material - py3-regex - hut + - jq + - rsync + - git secrets: - ac3eecc9-8fb0-4ed4-ae53-0472c093a1f1 sources: @@ -13,4 +16,11 @@ sources: tasks: - deploy: | cd bolt + + if git describe --exact-match --tags HEAD 2>/dev/null; then + export VERSION=$(git describe --exact-match --tags HEAD) + else + export VERSION=latest + fi + ./scripts/deploy-docs.sh |