4 ms·
Does this work with GitHub Actions?
by geekdave 5y ago
Does this work with GitHub Actions?
- agbell 5y agoIt does. You just put all your actually build logic in an earthfile and call it from your github actions. A benefit of this is its easy to move CIs and you can test your build locally. Here is an example githubaction script[1]. https://github.com/phoenixframework/phoenix/blob/master/.github/workflows/ci.yml https://github.com/phoenixframework/phoenix/blob/master/.git...
- quickthrower2 5y agoSame question for Travis CI, is there an example setup for this?
- agbell 5y agoSo you just have to pull in earthly and then call it. Here is an example. Note that the travis file has almost nothing, because you can move all that to an Earthfile so that you can easily port it and run it locally. https://github.com/zedtux/database_cleaner-nobrainer/blob/master/.travis.yml https://github.com/zedtux/database_cleaner-nobrainer/blob/ma... https://github.com/zedtux/database_cleaner-nobrainer/blob/master/Earthfile https://github.com/zedtux/database_cleaner-nobrainer/blob/ma...