Is your request related to a problem?
Currently, the markbind-action workflow force-pushes to the gh-pages branch every time it is executed.
It would be ideal to allow the user to determine if they wish to force push to the gh-pages branch or to retain the history of the gh-pages branch. It may be useful in some cases where the user wishes to see the changes in the output HTML as a Git diff.
Describe the solution you'd like
An additional configuration setting can be added to modify the behaviour of the workflow. As force-pushing is irreversible, the default behaviour should be to retain the history, but allow the user to set this configuration setting to enable force-pushing.
Is your request related to a problem?
Currently, the markbind-action workflow force-pushes to the gh-pages branch every time it is executed.
It would be ideal to allow the user to determine if they wish to force push to the gh-pages branch or to retain the history of the gh-pages branch. It may be useful in some cases where the user wishes to see the changes in the output HTML as a Git diff.
Describe the solution you'd like
An additional configuration setting can be added to modify the behaviour of the workflow. As force-pushing is irreversible, the default behaviour should be to retain the history, but allow the user to set this configuration setting to enable force-pushing.