mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 04:37:55 +08:00
ci(docs): fix examples build error when not rebased fully (#8880)
This commit is contained in:
@@ -19,6 +19,7 @@ if [ -n "$REPO_URL" ] && [ -n "$COMMIT_REF" ]; then
|
||||
echo "Using provided repo URL: $REPO_URL and commit ref: $COMMIT_REF for lvgl submodule"
|
||||
git remote set-url origin "$REPO_URL"
|
||||
git fetch origin
|
||||
git fetch origin '+refs/pull/*:refs/remotes/origin/pull/*'
|
||||
git checkout "$COMMIT_REF"
|
||||
else
|
||||
CURRENT_REF="$(git rev-parse HEAD)"
|
||||
|
||||
Reference in New Issue
Block a user