Skip to content
Permalink
Browse files

Fix deploying of docs

  • Loading branch information...
joblo2213 committed Jul 18, 2019
1 parent c2bbfad commit 6ded482ca52db0f7d5f89e929ba8f718da309a07
Showing with 4 additions and 4 deletions.
  1. +3 −1 .scripts/update-docs.sh
  2. +1 −3 .travis.yml
@@ -12,7 +12,9 @@ echo "Cloning docs repo..."
git clone https://${GH_TOKEN}@github.com/codeoverflow-org/chatoverflow-gh-pages --branch master --single-branch --depth 1 docs

echo "Copying docs..."
cp -fR target/scala-$SCALA_MAJOR/api chatoverflow
cp -fR target/scala-$SCALA_MAJOR/api docs/chatoverflow
cp -fR api/target/scala-$SCALA_MAJOR/api docs/chatoverflow-api
cd docs

echo "Updating wiki..."
git add .
@@ -13,9 +13,7 @@ cache:
- $HOME/.sbt
before_install:
- git clone https://github.com/codeoverflow-org/chatoverflow-api --branch master --single-branch --depth 1 api
- sbt ++$TRAVIS_SCALA_VERSION update
- sbt ++$TRAVIS_SCALA_VERSION fetch
- sbt ++$TRAVIS_SCALA_VERSION update
- sbt ++$TRAVIS_SCALA_VERSION update fetch update
script:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 doc
- chmod +x .scripts/update-docs.sh

0 comments on commit 6ded482

Please sign in to comment.
You can’t perform that action at this time.