Skip to content

Commit 14ba51c

Browse files
committed
Fix gh-pages script
1 parent c2c7459 commit 14ba51c

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<p align="center"><img src="https://github.com/pi0/bootstrap-vue/raw/master/banner.png"></p>
2-
31
# Bootstrap Vue
42
[Twitter Bootstrap 4](https://v4-alpha.getbootstrap.com/) components for [Vue.js 2](https://vuejs.org/)
53

64
[![CircleCI](https://circleci.com/gh/bootstrap-vue/bootstrap-vue.svg?style=svg)](https://circleci.com/gh/bootstrap-vue/bootstrap-vue)
75

86
[![NPM](https://nodei.co/npm-dl/bootstrap-vue.png?months=3&height=3)](https://nodei.co/npm/bootstrap-vue/)
97

8+
<p align="center"><img src="https://github.com/bootstrap-vue/bootstrap-vue/raw/master/banner.png"></p>
9+
1010
## Quick Start
1111

1212
Install via **NPM**:

circle.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ compile:
2222
- yarn build
2323
# - cp -rv build/* $CIRCLE_ARTIFACTS
2424

25+
test:
26+
override:
27+
- echo "test"
28+
2529
deployment:
2630
npm:
2731
tag: /v[0-9]+(\.[0-9]+)*/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build": "cd scripts && ./build",
2222
"docs-dev": "nuxt dev",
2323
"docs-gen": "nuxt generate",
24-
"docs-deploy": "cs scripts && ./gh-pages"
24+
"docs-deploy": "cd scripts && ./gh-pages"
2525
},
2626
"keywords": [
2727
"Bootstrap",

scripts/gh-pages

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22
set -x -e
33
cd ..
4-
rm -r dist
4+
[ -d dist ] && rm -rv dist
55
git clone $GH_PAGES_REPO dist
66
yarn docs-gen
77
cd dist
88
git add --all
99
git commit -m "Published by CI"
10-
git push
10+
git push -ff

0 commit comments

Comments
 (0)