From 5cca63c0b4f53dd18ce4b4e58e65e942d852c55d Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 24 Jul 2024 16:56:31 +0200 Subject: [PATCH] fix: add git pull to website update api reference action --- .github/workflows/website-update-api-reference.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/website-update-api-reference.yml b/.github/workflows/website-update-api-reference.yml index 44d4e4fc..967251c5 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 pull --rebase origin main git push origin HEAD:main - name: Install Website Dependencies