Skip to content

Commit

Permalink
fix condition to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
manuellysuzik authored Aug 7, 2023
1 parent 11fe564 commit f86cea4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
BRANCH_NAME="documentation-ref_$LATEST_TAG"
git config user.name ${{ secrets.GITLAB_USER }}
git config user.email ${{ secrets.GITLAB_EMAIL }}
REMOTE_EXISTS=$(git remote add origin ${{ secrets.GITLAB_DOC_URL }})
echo "remote_exists=$REMOTE_EXISTS" >> $GITHUB_OUTPUT
if [[ ${{ steps.git_setup.outputs.remote_exists }} == 3 ]]; then exit 0; else exit 1; fi
if [[ $(git remote add origin $GITLAB_DOCS_URL) == 3 ]];; then exit 0; else exit 1; fi
- name: Update Gitlab Documentation
run: |
git checkout -b $BRANCH_NAME
Expand Down

0 comments on commit f86cea4

Please sign in to comment.