⚠ This repository has now been archived and replaced with the ONS Design System - https://github.com/ONSdigital/design-system
npm install yarn --global
yarn global add gulp-cli
yarn
yarn start
deploy
run to update the published pattern library.Deployment is handled via CI to Netlify, each merge to master updates the documentation at: https://sdc-global-design-patterns.netlify.com/
master
also deploys the build to the CDN and uses the Pattern Library master
commit short hash as a folder.master
branch commit short hash as folder.https://cdn.ons.gov.uk/sdc/[short hash]/css/styles.css
).master
is viewable on the repository code page for the master branch or by using git log --pretty=format:"%h" --max-count=1
on the master branch in your CLI.Create a GitHib release with a Semantic version number.
When a new release is created that release version will then be available on the CDN
e.g. https://cdn.ons.gov.uk/sdc/[short hash]/css/responsive.css
will be available at https://cdn.ons.gov.uk/sdc/[release version]/css/responsive.css