diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 845ea3d28..473c813a2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -48,10 +48,10 @@ jobs: EXCLUDES="-e .turbo -e '**/.turbo' -e node_modules -e '**/node_modules' -e 'packages/*/dist' -e 'miniapps/*/dist'" if [ ! -d ".git" ]; then git clone --depth=1 https://github.com/${{ github.repository }}.git . - git fetch origin $COMMIT --depth=1 --tags + git fetch origin $COMMIT --depth=1 --tags --force git checkout -f $COMMIT else - git fetch origin $COMMIT --depth=1 --tags + git fetch origin $COMMIT --depth=1 --tags --force git checkout -f $COMMIT eval "git clean -fdx $EXCLUDES" fi