Unable to push to a private repo from drone.yml

I cloned my repo using https, i am allowed to make commit to it but not push. I tried adding secrets using the secret option inside the menu(UI), and tried to access the secret in my .drone.yml file but was not able to.
Can you suggest some way to push my changes to a private repo?

Paste here your pipeline yaml.