diff --git a/.github/workflows/auto-sync-gh-pages.yml b/.github/workflows/auto-sync-gh-pages.yml index 9cf0b4b6a..ee8b04451 100644 --- a/.github/workflows/auto-sync-gh-pages.yml +++ b/.github/workflows/auto-sync-gh-pages.yml @@ -39,7 +39,7 @@ jobs: current_branch=$(git rev-parse --abbrev-ref HEAD) - if [ "${current_branch}" == "master" && "${valid_tag}" == 0 ]; then + if [[ "${current_branch}" == "master" && "${valid_tag}" == 0 ]]; then echo "valid=1" >> $GITHUB_OUTPUT fi