Skip to content

Commit 43aa462

Browse files
committed
Skip gh-pages updates on branches other than develop
1 parent 7d7ddb8 commit 43aa462

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ git --no-pager diff --stat
1717
git add .
1818
git commit -m "[CI] Update documentation at $(date +'%Y-%m-%d %H:%M:%S %z')"
1919

20-
if [ "${TRAVIS_BRANCH}" = "feature/auto-generated-docs" ]; then
20+
if [ "${TRAVIS_BRANCH}" = "develop" ]; then
2121
echo "Updating gh-pages..."
2222
git remote add upstream "https://${DANGER_GITHUB_API_TOKEN}@github.com/polydice/ICInputAccessory.git"
2323
git push --quiet upstream HEAD:gh-pages

0 commit comments

Comments
 (0)