Add publish function that pushes to current branch