Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 965 Bytes

DEVELOPMENT.md

File metadata and controls

32 lines (20 loc) · 965 Bytes

🚀 GitHub Action for Mercure - DEVELOPMENT

This document will help you in case you want to test your GitHub Action before deploying it. By installing and running this Action manually, you'll be able to control the environment variables that GitHub usually applies to the Action's container.


Requirements

  • Node.js (sorry ...)

Installation

  • Copy .env.dist to .env and set all the environment variables.
  • Run npm ci.

Development

Run the Action using this :

node -r dotenv/config entrypoint.js "Hewwo {{ EVENT_PAYLOAD.commits[0].message }}"

You can change the event payload by editing the event-example.json file according to the event types.


Don't forget to 🌟 Star 🌟 the repo if you like this GitHub Action !
Your feedback is appreciated