From 61e08c1aa41b4f1bc838a82849c28c61cda7d63c Mon Sep 17 00:00:00 2001 From: Manuelly Suzik <36175838+manuellysuzik@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:12:45 -0300 Subject: [PATCH] fix typo in conditional --- .github/workflows/mkdocs.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/mkdocs.yaml b/.github/workflows/mkdocs.yaml index 60f68850f..519143826 100644 --- a/.github/workflows/mkdocs.yaml +++ b/.github/workflows/mkdocs.yaml @@ -34,13 +34,12 @@ jobs: with: fetch-depth: 0 - name: Git Setup - id: git_setup run: | LATEST_TAG=$(git describe --tags --always --abbrev=0) BRANCH_NAME="documentation-ref_$LATEST_TAG" git config user.name ${{ secrets.GITLAB_USER }} git config user.email ${{ secrets.GITLAB_EMAIL }} - if [[ $(git remote add origin $GITLAB_DOC_URL) == 3 ]];; then exit 0; else exit 1; fi + if [[ $(git remote add origin $GITLAB_DOC_URL) == 3 ]]; then exit 0; else exit 1; fi - name: Update Gitlab Documentation run: | git checkout -b $BRANCH_NAME