Skip to content

Commit

Permalink
travis ci back to production
Browse files Browse the repository at this point in the history
  • Loading branch information
snowme34 committed Dec 31, 2019
1 parent 5349820 commit da9896a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ branches:
# - ./node_modules/.bin/markdownlint --version
script:
## check links
# - docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results --white-list $(paste -d, -s travis_link_check_whitelist.txt) `find . -not -path "**/node_modules/*" -not -path "./blog/themes/symphony/*" -not -path "./blog/scaffolds/*" -regex ".*\.\(md\|rst\)$"`
- docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results --white-list $(paste -d, -s travis_link_check_whitelist.txt) `find . -not -path "**/node_modules/*" -not -path "./blog/themes/symphony/*" -not -path "./blog/scaffolds/*" -regex ".*\.\(md\|rst\)$"`
## check spelling
# - find . -not -path "**/node_modules/*" -not -path "./blog/themes/symphony/*" -not -path "./blog/scaffolds/*" -name "*.md" | grep -v -f travis_spell_check_whitelist.txt | xargs ./node_modules/.bin/cspell -c cSpell.json
- find . -not -path "**/node_modules/*" -not -path "./blog/themes/symphony/*" -not -path "./blog/scaffolds/*" -name "*.md" | grep -v -f travis_spell_check_whitelist.txt | xargs ./node_modules/.bin/cspell -c cSpell.json
# - ./node_modules/.bin/cspell docs/source/**/*.rst
## markdown lint
# - ./node_modules/.bin/markdownlint docs\source
Expand Down
8 changes: 4 additions & 4 deletions hexo-build-if-updated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# if [[ -n "$(git diff --name-status HEAD~1...HEAD blog)" ]]; then
cp blog/themes/_config.yml blog/themes/symphony/
npx hexo --cwd blog generate
# fi
if [[ -n "$(git diff --name-status HEAD~1...HEAD blog)" ]]; then
cp blog/themes/_config.yml blog/themes/symphony/
npx hexo --cwd blog generate
fi

0 comments on commit da9896a

Please sign in to comment.