I am publishing a website on Bitbucket Cloud.
I have followed the documentation and am manually pushing the static files (html) to bitbucket.io and am able to see those pages.
Now instead of manually pushing the files, I want to automate it with bitbucket pipeline.
I have a separate repo where the pipeline generates the folder containing the static html files. I want to push this folder into the bitbucket.io repo as part of the pipeline step.
I tried to add git clone commands on the bitbucket-pipeline.yaml file and then copy from one repo to another but something or the other keeps failing.
Is there any documentation that can guide me how this can be done?