ad-m / github-push-action

GitHub actions to push back to repository eg. updated code
MIT License
1.21k stars 230 forks source link

discard gh-pages history #147

Closed iltommi closed 2 years ago

iltommi commented 2 years ago

Hi, I'm converting my doc from travis to github actions. Every time I push to master branch, I have an action that builds the documentation that I want to push on the gh-pages branch. But I don't care about keeping the doc history (this will increase the clone of the main repo).

I Travis I just needed to add a keep-history: false

Do you know how to achieve this?

Thanks a lot

ZPascal commented 2 years ago

Hi @iltommi, I've quickly checked the corresponding implementation here, and I can communicate that we do not support such a case.

iltommi commented 2 years ago

Thanks!