mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
feat: fix: use correct branch for ref updating
This commit is contained in:
@@ -258,7 +258,7 @@ fn-git-fetch() {
|
||||
git fetch remote "$DOKKU_DEPLOY_BRANCH"
|
||||
else
|
||||
git fetch remote
|
||||
git update-ref refs/heads/master "$GIT_REF"
|
||||
git update-ref "refs/heads/$DOKKU_DEPLOY_BRANCH" "$GIT_REF"
|
||||
fi
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user