feat: fix: use correct branch for ref updating
This commit is contained in:
1 parent
f73c927512
commit
97b33a9138
1 file changed
+1
-1
@@ -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