Edit confluence pages using pipeline

Trying to use pipeline and edit a page on confluence when a file from my project is being updated.

Any ideas? thanks