1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 00:58:31 +03:00
css/docs/script/now-build.sh
2019-12-16 14:08:45 -08:00

13 lines
205 B
Bash
Executable File

#!/bin/bash -e
# Build the base project so we can pull out the JSON data
cd ..
npm ci
npm run dist
cp -rf dist docs
# Now build the docs site using that data
cd docs
npm ci
CI=true npm run build-content