Skip to content

Commit

Permalink
Merge pull request #128 from GreenmaskIO/fix/doc_deployment
Browse files Browse the repository at this point in the history
fix: Fixed documentation latest tag exclusion for beta
  • Loading branch information
wwoytenko authored May 17, 2024
2 parents 0eb7f8f + 81a0d86 commit e298041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
for tag in ${{ env.TAGS }}; do
echo "### CHECKOUT TO ${tag} ###"
git checkout $tag
if [[ "$tag" == *"rc"* || "$tag" == *"dev"* || "$tag" == *"pre"* ]]; then
if [[ "$tag" == *"rc"* || "$tag" == *"dev"* || "$tag" == *"pre"* || "$tag" == *"beta"* || "$tag" == *"b"* ]]; then
mike deploy $tag
else
mike deploy --update-aliases $tag latest
Expand Down
2 changes: 1 addition & 1 deletion docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}

{% block announce %}
Version 0.1.13 is <a href="https://github.com/GreenmaskIO/greenmask/releases/tag/v0.1.13">released</a>
A new major beta version 0.2.0b1 is <a href="https://github.com/GreenmaskIO/greenmask/releases/tag/v0.2.0b1">released</a>
{% endblock %}

{% block outdated %}
Expand Down

0 comments on commit e298041

Please sign in to comment.