GithubHelp home page GithubHelp logo

isuruf / webservices-dispatch-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conda-forge/webservices-dispatch-action

0.0 2.0 0.0 78 KB

a GitHub action to rerender conda-forge feedstocks

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 17.97% Shell 7.23% Python 74.81%

webservices-dispatch-action's Introduction

webservices-dispatch-action

a GitHub action to run webservices tasks conda-forge feedstocks

Usage

To use this action, add the following YAML file at .github/workflows/rerender.yml

on: repository_dispatch

jobs:
  webservices:
    runs-on: ubuntu-latest
    name: webservices
    steps:
      - name: webservices
        id: webservices
        uses: conda-forge/webservices-dispatch-action@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

The admin web service will create the appropriate dispatch event with the correct data.

For example, a rerender uses:

{"event_type": "rerender", "client_payload": {"pr": 12}}

Deployment

The GitHub action always points to the prod tag of the condaforge/webservices-dispatch-action Docker image.

  • To redeploy the rerender action, push a new image to the prod tag.

    docker build -t condaforge/webservices-dispatch-action:prod .
    docker push condaforge/webservices-dispatch-action:prod
  • To take the rerender action down, delete the tag from the Docker repository. The GitHub Action will still run in this case, but it will always fail.

webservices-dispatch-action's People

Contributors

beckermr avatar renefritze avatar

Watchers

James Cloos avatar  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.