Skip to content

Commit

Permalink
Hotfix - add fi to end bash if-sentences as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Nov 22, 2023
1 parent dc78405 commit 810a2b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,12 @@ jobs:
if [[ $(echo -e "${INSTALLED_PACKAGES}" | grep -ciE '(mkdocs|mike)==') -eq 2 ]]; then
echo "Missing one or more of the following packages: mkdocs, mike"
exit 1
fi
elif [ "${{ inputs.docs_framework }}" == "sphinx" ]; then
if [[ $(echo -e "${INSTALLED_PACKAGES}" | grep -ci 'sphinx==') -eq 1 ]]; then
echo "Missing one or more of the following packages: sphinx"
exit 1
fi
else
echo "Unknown framework: ${{ inputs.docs_framework }}"
exit 1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci_cd_updated_default_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,12 @@ jobs:
if [[ $(echo -e "${INSTALLED_PACKAGES}" | grep -ciE '(mkdocs|mike)==') -eq 2 ]]; then
echo "Missing one or more of the following packages: mkdocs, mike"
exit 1
fi
elif [ "${{ inputs.docs_framework }}" == "sphinx" ]; then
if [[ $(echo -e "${INSTALLED_PACKAGES}" | grep -ci 'sphinx==') -eq 1 ]]; then
echo "Missing one or more of the following packages: sphinx"
exit 1
fi
else
echo "Unknown framework: ${{ inputs.docs_framework }}"
exit 1
Expand Down

0 comments on commit 810a2b4

Please sign in to comment.