Skip to content

Commit aa1554a

Browse files
authored
Update update-docs.yml to include git pull
Add git pull and log command before committing changes.
1 parent b7d0ab0 commit aa1554a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
run: |
5959
git config --global user.name "github-actions[bot]"
6060
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
61+
git pull --rebase origin main
62+
git log -1
6163
git add .
6264
git commit -m "Update docs from maps rnmapbox/maps@${GITHUB_SHA::7}"
6365
git push origin main

0 commit comments

Comments
 (0)