Skip to content

Commit 09eabe5

Browse files
committed
ensure documentation directory exists
1 parent 4770962 commit 09eabe5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ if [[ $TRAVIS_BRANCH == "master" ]]; then
2424

2525
git pull "https://git:${GH_TOKEN}@github.com/IBM/carbon-components-angular.git" gh-pages
2626

27+
mkdir -p documentation
2728
cp -R ../dist/docs/documentation/* ./documentation
2829
cp -R ../dist/docs/storybook/* ./
2930

3031
version=$(node -e 'const package = require("./../dist/package.json"); console.log(package.version);')
3132
mkdir $version
33+
mkdir -p $version/documentation
3234
cp -R ../dist/docs/documentation/* $version/documentation
3335
cp -R ../dist/docs/storybook/* $version
3436

0 commit comments

Comments
 (0)