Deployment steps - kyndryl-digital/kyndryl-storybook GitHub Wiki

Manual deployment steps

1. Tag release

Semantic release will analyze the commit messages for the feat/fix prefix to determine the next version number and will tag accordingly, setup a release inside Github, and will generate release notes. Additionally, it will close issues associated with the different pull requests.

GH_TOKEN=YOURE_PERSONAL_GITHUB_TOKEN_HERE npx semantic-release --no-ci

2. Publish Storybook to gh-pages

This step will run the Storybook build and push it out to Github pages automatically.

https://kyndryl-digital.github.io/kyndryl-design-system/

npm run publish

(Alternative option...)

npm run build:storybook 
npx gh-pages -d storybook-static

3. Production build

PUBLIC_URL=https://kds.kyndryl.com/v2/ npm run build

For Adobe DAM (this will be going away once NetStorage hosting is active)

PUBLIC_URL=https://www.kyndryl.com/content/dam/kyndryl-apps/navigation/v2/ npm run build
  1. Login to Adobe Cloud
  2. Navigation to KyndrylProgram
  3. Open kyndryl-program-prod environment
  4. Navigation to Assets > Files > kyndryl-apps > navigation > v2 (Make sure the version number matches the semantic release major version from step 1)
  5. Drag all of the files from your ./build folder over to Adobe DAM
  6. When prompted select "Create Version"
  7. Wait a few minutes
  8. Select all and click "Quick Publish" (May take some time to fully publish and for caches to clear)