redkubes / docusaurus-deploy-action

12 stars 3 forks source link

How to building from a branch other than master? #1

Closed Lissy93 closed 3 years ago

Lissy93 commented 3 years ago

Hey @Morriz
You're action looks awesome, just a quick question- Is it possible to select a different input branch? Or would I need to fork it in order to modify this?

For example, I have a project, which has the main project code on the master branch, Docourousrus's code on another branch, and I would like Docusourus to build the to the gh-pages branch. If I were to modify this, as a fork, do you know I would to add to change in entrypoint.sh, as a starting point?

Thanks very much, and keep up the great work :) Alicia

Morriz commented 3 years ago

Hey there, your github workflow can be triggered on any branch/condition. That is in their docs and without the scope of this action ;) I think their docs are rather large and unclear sometimes, but that info you can find for sure. Good luck!

On 29 Aug 2021, at 22:26, Alicia Sykes @.***> wrote:

 Hey @redkubes You're action looks awesome, just a quick question- Is it possible to select a different input branch? Or would I need to fork it in order to modify this?

For example, I have a project, which has the main project code on the master branch, Docourousrus's code on another branch, and I would like Docusourus to build the to the gh-pages branch. If I were to modify this, as a fork, do you know I would to add to change in entrypoint.sh, as a starting point?

Thanks very much, and keep up the great work :) Alicia

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.