S
S
Svetlana2021-05-17 15:32:31
GitHub
Svetlana, 2021-05-17 15:32:31

How to deploy to github for each folder from a branch?

Hello.

There are three branches in the repo: main, gh-pages, develop
in the develop branch, several folders are created, in each folder there is a JS mini-project (like accordion, carousel, etc.)
I wanted to make a pull request from each folder to the gh-pages branch, so that for each mini-project had its own deployment.
and then in the main branch in the readme file, give links to the deployment of these mini-projects.
But the pull request from the first folder of the develop branch transferred all the commits to the gh-pages branch and no deployment happened.

https://github.com/SvetlanaSharkunova/vanilla-js-m...

question number 1:
is it possible to do something like this or for each mini-project you need to create your own branch, and make a pull request from it in gh-pages, so that get a deployment of this miniproject?
question #2:
is it possible now to delete this pull request and the gh-pages branch if the deploy can't be done?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question