Skip to content

Commit 1639632

Browse files
authored
Merge pull request #493 from cal-smith/semantic-release
ensure documentation directory exists
2 parents 8d50f1e + 71abc6b commit 1639632

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)