From 87ce3f12163f63b28c99b6a1d7d5cdea70017677 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:55:42 +1200 Subject: [PATCH] Allow use as GH workflow action (#3) --- action.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..d6296b1 --- /dev/null +++ b/action.yml @@ -0,0 +1,14 @@ +name: ESPHome Component Image Generator +description: Generates SVG images for components to be used on the ESPHome website + +inputs: + component: + description: "The component to generate an image for" + required: true + type: string + +runs: + using: docker + image: docker://ghcr.io/esphome/component-image-generator:latest + args: + - ${{ inputs.component }}