JamesRandall / Vsts-GitHub-Pages-Publish

A VSTS build and release task that publishes to GitHub Pages
MIT License
12 stars 6 forks source link

Added option to clean the repository before copying the source files #12

Closed ronaldbosma closed 1 year ago

ronaldbosma commented 5 years ago

I've added the option to clean the repository before the source files are copied. It can be turned on and off by a new parameter on the task. It's set to false by default so it won't impact existing pipelines when they update.

I tried publishing a private version of the extensions to test it but couldn't create a publisher in the market place because I didn't have enough rights. I'll have to look in to that.

I have tested the script itself though and it works for me.

ronaldbosma commented 5 years ago

Added example of how to use the task in a yaml pipeline including the new input.