diff --git a/.github/workflows/website-update-api-reference.yml b/.github/workflows/website-update-api-reference.yml index 967251c5..f5cdbf3d 100644 --- a/.github/workflows/website-update-api-reference.yml +++ b/.github/workflows/website-update-api-reference.yml @@ -29,6 +29,7 @@ jobs: git config --local user.email 'github-actions[bot]@users.noreply.github.com' git add website/static git commit -m "docs: api reference and website examples update: $GITHUB_SHA" + git clean -fdx --exclude='website/static' git pull --rebase origin main git push origin HEAD:main