From 0dcfa4da385be2652f4cda5f3969d502dd2c859c Mon Sep 17 00:00:00 2001 From: Xudong Liu Date: Wed, 21 Aug 2024 14:59:28 +0800 Subject: [PATCH] :gear: fix auto sync gh pages github action (#1211) Signed-off-by: xudong liu --- .github/workflows/auto-sync-gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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