cuttle-bot is hosted on github pages and the app is served out of the docs folder. Currently, deploying the app requires manually running the build command, copying the dist output into docs, committing the change, and pushing to master. We should automate this process so that merges into master are automatically deployed (similar to the main cuttle repo). To do so, we should:
- Update
angular.json so the build outpath is docs instead of it's current dist (this way builds are put in the correct folder)
- Add a new
.github/workflows/build.yml action file that runs whenever a commit is made to any branch exceptmaster and runs the build command, commits the changes, and pushes them to the current branch. This way when we merge into master, the commit will include the build of the latest source and this will automatically update the deployment
cuttle-bot is hosted on github pages and the app is served out of the
docsfolder. Currently, deploying the app requires manually running the build command, copying thedistoutput intodocs, committing the change, and pushing tomaster. We should automate this process so that merges intomasterare automatically deployed (similar to the main cuttle repo). To do so, we should:angular.jsonso the buildoutpathisdocsinstead of it's currentdist(this way builds are put in the correct folder).github/workflows/build.ymlaction file that runs whenever a commit is made to any branch exceptmasterand runs the build command, commits the changes, and pushes them to the current branch. This way when we merge intomaster, the commit will include the build of the latest source and this will automatically update the deployment