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"
|
git fetch remote "$DOKKU_DEPLOY_BRANCH"
|
||||||
else
|
else
|
||||||
git fetch remote
|
git fetch remote
|
||||||
git update-ref refs/heads/master "$GIT_REF"
|
git update-ref "refs/heads/$DOKKU_DEPLOY_BRANCH" "$GIT_REF"
|
||||||
fi
|
fi
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user