Skip to content

Commit b4986ed

Browse files
committed
Don't fail build when nothing was built
1 parent 8d68104 commit b4986ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

invfile.lua.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,10 @@ API database.
748748
"./data/api:/source"
749749
}})
750750
.run('add', '_images')
751-
.run('commit', '-m', 'Build ' .. ENV.TRAVIS_BUILD_NUMBER)
752-
.run('push', 'origin', 'gh-pages')
751+
.withConfig({entrypoint = {'/bin/sh', '-c'}})
752+
.run('git commit -m "Build '
753+
.. ENV.TRAVIS_BUILD_NUMBER .. '" || true')
754+
.run('git push origin gh-pages')
753755

754756
# Appendix
755757

0 commit comments

Comments
 (0)