DEV Community

Cover image for A lightweight, tool-agnostic CI/CD flow with GitHub Actions

A lightweight, tool-agnostic CI/CD flow with GitHub Actions

Victoria Drake on October 28, 2019

Agnostic tooling is the clever notion that you should be able to run your code in various environments. With many continuous integration and contin...
Collapse
 
fredericlemay profile image
Frederic Lemay • Edited

Good article Victoria! I really love the concept of Portable tooling.

Have you tried Docker in your workflow? I too use Makefile but delegate my commands to Docker containers which makes it even more portable because it runs on Windows, Mac, and Linux.

With Docker, you don't even need to have any language/framework installed on your local machine and CI/CD server! And it works seemingly with GitHub Action.

Wrote this small blog post about GitHub Action and Docker.

If you are interested, 3musketeers.io explains in more details the methodology I generally use. Even the website uses GitHub Actions (and Docker) to build, test, and deploy to Netlify. :)

Collapse
 
otaviopires profile image
Otavio

So you have the workflow.yml and the Makefile stored in a different repository created just for running the actions? The trigger on push to branch master in the workflow is looking for updates in this repository?