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

Commit 697f977

Browse files
committed
And fetch. Fetch & update!
1 parent 9116ee3 commit 697f977

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.scripts/update-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ echo "Copying docs..."
1515
cp -fR target/scala-$SCALA_MAJOR/api chatoverflow
1616

1717
echo "Updating wiki..."
18-
18+
git add .
1919
git commit --message "Deployed doc (Travis build #$TRAVIS_BUILD_NUMBER)"
2020
git push --force origin master

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ cache:
1414
before_install:
1515
- git clone https://github.com/codeoverflow-org/chatoverflow-api --branch master --single-branch --depth 1 api
1616
- sbt ++$TRAVIS_SCALA_VERSION update
17+
- sbt ++$TRAVIS_SCALA_VERSION fetch
18+
- sbt ++$TRAVIS_SCALA_VERSION update
1719
script:
1820
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 doc
1921
- chmod +x .scripts/update-docs.sh

0 commit comments

Comments
 (0)