Giter Site home page Giter Site logo

dad-jokes-in-my-workflow-logs's Introduction

Dad Jokes In My Workflow Logs

This Pantheon Quicksilver script curls in a dad joke from https://icanhazdadjoke.com and echoes it into your Pantheon workflow logs.

Instructions

  1. Add the dad-jokes-in-my-workflow-logs.php to the private/scripts directory of your code repository.
  2. Add a Quicksilver operation to your pantheon.yml to fire the script on event (see example below).
  3. Test a deploy out!

You will want to use the terminus workflows:watch <site> command to see this in action

Example pantheon.yml

Here's an example of what your pantheon.yml would look like if this were the only Quicksilver operation you wanted to use. Pick and choose the exact workflows that you would like to see notifications for.

api_version: 1

workflows:
  deploy_product:
    after:
        - type: webphp
          description: Put a dad joke in the workflow log after site creation
          script: private/scripts/dad-jokes-in-my-workflow-logs.php
  create_cloud_development_environment:
    after: 
        - type: webphp
          description: Put a dad joke in the workflow log after Multidev creation
          script: private/scripts/dad-jokes-in-my-workflow-logs.php
  deploy:
    after:
        - type: webphp
          description: Put a dad joke in the workflow log after deploy
          script: private/scripts/dad-jokes-in-my-workflow-logs.php
  sync_code:
    after:
        - type: webphp
          description: Put a dad joke in the workflow log after code commit
          script: private/scripts/dad-jokes-in-my-workflow-logs.php
  clear_cache:
    after:
        - type: webphp
          description: Put a dad joke in the workflow log after cache clear
          script: private/scripts/dad-jokes-in-my-workflow-logs.php

example

image of a screen shot of a terminal and a dad joke: What's the difference between a guitar and a fish? You can tune a guitar but you can't "tuna" fish!

This is an example repo

No guarantee or warranty implied or given.
No, I will not support this.

dad-jokes-in-my-workflow-logs's People

Contributors

mcdwayne avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

davidneedham

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.