Skip to content

Commit

Permalink
Don't fail build when nothing was built
Browse files Browse the repository at this point in the history
  • Loading branch information
thriqon committed Jan 29, 2016
1 parent 8d68104 commit bedcd0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions invfile.lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,10 @@ API database.
"./data/api:/source"
}})
.run('add', '_images')
.run('commit', '-m', 'Build ' .. ENV.TRAVIS_BUILD_NUMBER)
.run('push', 'origin', 'gh-pages')
.withConfig({entrypoint = {'/bin/sh', '-c'}})
.run('git commit -m "Build '
.. ENV.TRAVIS_BUILD_NUMBER .. '" || true')
.run('push origin gh-pages')

# Appendix

Expand Down

0 comments on commit bedcd0b

Please sign in to comment.