travis: fix
This commit is contained in:
@@ -2,7 +2,7 @@ dist: trusty
|
|||||||
sudo: true
|
sudo: true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.31.1/hugo_0.31.1_Linux-64bit.deb -O hugo.deb
|
- wget -q https://github.com/gohugoio/hugo/releases/download/v0.31.1/hugo_0.31.1_Linux-64bit.deb -O hugo.deb
|
||||||
- sudo dpkg -i hugo.deb
|
- sudo dpkg -i hugo.deb
|
||||||
|
|
||||||
script:
|
script:
|
||||||
@@ -19,6 +19,6 @@ after_success: |
|
|||||||
git -c user.name='cwpearson' -c user.email='carl.w.pearson@gmail.com' commit -m init
|
git -c user.name='cwpearson' -c user.email='carl.w.pearson@gmail.com' commit -m init
|
||||||
# Make sure to make the output quiet, or else the API token will leak!
|
# Make sure to make the output quiet, or else the API token will leak!
|
||||||
# This works because the API key can replace your password.
|
# This works because the API key can replace your password.
|
||||||
git push -f -q https://cwpearson:$GITHUB_TOKEN@github.com/cwpearson/cwpearson.github.io master &2> /dev/null
|
git push -f https://cwpearson:$GITHUB_TOKEN@github.com/cwpearson/cwpearson.github.io master
|
||||||
cd "$TRAVIS_BUILD_DIR"
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user