From 698cc77358161b090c6ba2cffeae1e61fe776254 Mon Sep 17 00:00:00 2001 From: bobbykolev Date: Fri, 20 Dec 2024 16:54:01 +0200 Subject: [PATCH] readme.md updated with deployment info --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78c375d..8e1bcd0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ `npm i` `npm run dev` -###### prerequisits +###### prerequisites It's recommended to use [volta](https://docs.volta.sh/guide/getting-started) ``` @@ -53,4 +53,24 @@ _meta.en-US.json At the moment the i18n is done manually by the nextra guide - https://nextra.site/docs/guide/i18n -We'll explore the option to use Crowdin instead. \ No newline at end of file +We'll explore the option to use Crowdin instead. + +### Build & Deployment + +The build and deployments are automatic on merge. + +In order to deploy it to dev/acc, merge to `develop` branch. + +For production release you need to merge to `main` branch. +For proper redeployment make sure you bump the version on every merge to main. + +Use the following: +``` +npm version patch +``` +this will bump the patch version and make a commit (e.g. 0.0.1 -> 0.0.2). + +Or manually update the npm version in the package.json file. +Then run `npm install` and commit the changes. + +Once merged into `main`, make sure to merge `main` back to `develop` (to sync the version). \ No newline at end of file