Deployment - MotivationalModelling/mm-local-editor GitHub Wiki
Deployment
AMMBER is deployed to GitHub Pages from the dist directory.
Automatic deployment
- Pushing to
developruns the CI/CD workflow. After everything passes, it deploys withnpm run deploy. - Pushing to
mainruns the deployment workflow. It automatically builds the project and publishes it to GitHub Pages.
Access the deployed site here: https://motivationalmodelling.github.io/mm-local-editor/.
Manual deployment
Do not use this unless for some reason it needs to be published manually.
npm ci
npm run deploy
The deploy script builds the project first, then publishes dist to the gh-pages branch.