Manual deployments are triggered through yarn/npm scripts.
We have one command for each customer (when running MST app) and for each stage (staging, production).
We also have helper commands meant to deploy all customers (per stage, etc.), similar to bulk actions.
1
2
3
4
5
6
7
8
9
10
11
12
yarn deploy # Alias to yarn deploy:customer1
yarn deploy:customer1 # Deploy customer1 in staging
yarn deploy:customer1:production # Deploy customer1 in production
yarn deploy:customer2 # Deploy customer2 in staging
yarn deploy:customer2:production # Deploy customer2 in production
yarn deploy:customer1:all # Deploy customer1 to staging and then to production (bulk action)
yarn deploy:all # Deploy all customers to staging (bulk action)
yarn deploy:all:all # Deploy all customers to staging and then production (bulk action)
Those commands are meant to be manually executed on your computer, and will use your local files when doing so.
vercel.json
file.Un autre okokok - 2021
Tous droits réservés