Hi,
I want to automate deployments for my site. I have started with writing pipelines using JavaScript for dev to stage migrations.
Once the PR is merged into the destination branch it would merge the branches as well as deploy the files in the PR to the server.
I have hard coded and successfully deployed one file from pipeline.yml. However, I am facing issue in reading the merged PR contents .
Below is my pipeline.yml script image for deploying a file(line 23) :