Is there a way to setup Github Actions to run multiple npm run build
s? I wanted to use multiple repos and set them as different webpages on the main site.
Imagine I had 3 repos: Main, Angular App, and React App.
The Main repo would have my landing site. Angular App and React App would be two different sites.
From foobar.github.io
(main repo), I would go to foobar.github.io/angular
to navigate to my Angular App. foobar.github.io/react
would be a react app.
Each application would be in 3 different repositories. Is there a way for me to push to my Angular App and GitHub Actions would automatically do an ng build --prod --base-href='angular'
, and update that page or even run a build for all repositories and deploy it?
To do this locally, I would have to do a build command on each repository, and then drag each prod
folder into my repo, then push it up, which, in my opinion, can get very inefficient.