Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 6ded482

Browse files
committed
Fix deploying of docs
1 parent c2bbfad commit 6ded482

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.scripts/update-docs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ echo "Cloning docs repo..."
1212
git clone https://${GH_TOKEN}@github.com/codeoverflow-org/chatoverflow-gh-pages --branch master --single-branch --depth 1 docs
1313

1414
echo "Copying docs..."
15-
cp -fR target/scala-$SCALA_MAJOR/api chatoverflow
15+
cp -fR target/scala-$SCALA_MAJOR/api docs/chatoverflow
16+
cp -fR api/target/scala-$SCALA_MAJOR/api docs/chatoverflow-api
17+
cd docs
1618

1719
echo "Updating wiki..."
1820
git add .

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ cache:
1313
- $HOME/.sbt
1414
before_install:
1515
- git clone https://github.com/codeoverflow-org/chatoverflow-api --branch master --single-branch --depth 1 api
16-
- sbt ++$TRAVIS_SCALA_VERSION update
17-
- sbt ++$TRAVIS_SCALA_VERSION fetch
18-
- sbt ++$TRAVIS_SCALA_VERSION update
16+
- sbt ++$TRAVIS_SCALA_VERSION update fetch update
1917
script:
2018
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 doc
2119
- chmod +x .scripts/update-docs.sh

0 commit comments

Comments
 (0)