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
- Login to Adobe Cloud
- Navigation to KyndrylProgram
- Open kyndryl-program-prod environment
- Navigation to Assets > Files > kyndryl-apps > navigation > v2 (Make sure the version number matches the semantic release major version from step 1)
- Drag all of the files from your
./buildfolder over to Adobe DAM - When prompted select "Create Version"
- Wait a few minutes
- Select all and click "Quick Publish" (May take some time to fully publish and for caches to clear)