Git Product home page Git Product logo

lifx-buildkite-build-light-php's Introduction

LIFX Buildkite Build Light (PHP)

An example PHP Buildkite webhook endpoint for creating a LIFX powered build light.

✌️🐼✌️

LIFX panda build light in action

Usage

  1. Deploy it to Heroku
    Deploy

  2. Find the secret: In your new Heroku app go to Settings → Config Variables → Reveal Config Variables, and copy the WEBHOOK_TOKEN variable value.

  3. Set up the webhook: In Buildkite go to Settings → Notifications → Webhooks and add a new webhook pointing to your new Heroku app (don’t forget to choose the project and branch name). The token should be the one generated by Heroku, which you can find in your Heroku project’s environment variables.

  4. Trigger a build! 🎉

Personalising

One bulb per project? One bulb per build pipeline step? A LIFX chandelier that twinkles rainbows after each deploy? The possibilities are endless!

Check out api.developer.lifx.com to see what’s possible with the API, then fork this project, and get hacking.

License

See the LICENSE file for license rights and limitations (MIT).

lifx-buildkite-build-light-php's People

Contributors

jessedc avatar toolmantim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.