Skip to content

Commit 6a383bf

Browse files
committed
fix repo url; copy schemas to gh-pages branch
1 parent 0341f41 commit 6a383bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/travis-gh-pages

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ set -e
55
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
66
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|\.json$|^LICENSE$' && {
77
rm -rf ../gh-pages
8-
git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages
8+
git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/JSONScript/jsonscript.git ../gh-pages
99
mkdir -p ../gh-pages/_source
1010
cp *.md ../gh-pages/_source
11+
cp schema/*.json ../gh-pages/schema
1112
cp LICENSE ../gh-pages/_source
1213
currentDir=$(pwd)
1314
cd ../gh-pages

0 commit comments

Comments
 (0)