I am about to deploy my first strapi project to AWS. Following the docs (AWS Deployment | Strapi Documentation) I will create a webhook to trigger a deployment. In the docs there is this command to pull and restart:
const PM2_CMD = 'cd ~ && pm2 startOrRestart ecosystem.config.js';
...
`cd ${repo} && git pull && ${PM2_CMD}`
I don’t see any npm run build
or strapi build
. Isn’t the build step necessary after pulling from git and before restarting the application? Am I missing something here?