From b8d515e34feb29806d93404313e23c6f46dc856c Mon Sep 17 00:00:00 2001 From: Marcel Seidel Date: Thu, 13 Jun 2024 09:05:43 +0200 Subject: [PATCH] chore: Setting correct path for PNG file --- .github/workflows/cd.yaml | 2 +- .../{ => resources}/weather-forecast.png | Bin samples/weather-forecast/src/index.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename samples/weather-forecast/{ => resources}/weather-forecast.png (100%) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index b05c8cc..1e892d9 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -49,7 +49,7 @@ jobs: - name: Prepare Deployment run: | mkdir samples/weather-forecast/icons - cp samples/weather-forecast/resources/weather-forecast.svg samples/weather-forecast/dist/icons + cp samples/weather-forecast/resources/weather-forecast.png samples/weather-forecast/dist/icons continuous-delivery-dev-de1: name: Continuous Delivery (dev de1) diff --git a/samples/weather-forecast/weather-forecast.png b/samples/weather-forecast/resources/weather-forecast.png similarity index 100% rename from samples/weather-forecast/weather-forecast.png rename to samples/weather-forecast/resources/weather-forecast.png diff --git a/samples/weather-forecast/src/index.tsx b/samples/weather-forecast/src/index.tsx index 4a2b04c..49c6db4 100644 --- a/samples/weather-forecast/src/index.tsx +++ b/samples/weather-forecast/src/index.tsx @@ -23,7 +23,7 @@ import { import { WeatherForecastProps, WeatherForecast } from "./weather-forecast"; import { configurationSchema, uiSchema } from "./configuration-schema"; import pkg from "../package.json"; -import widgetIcon from "../weather-forecast.png"; +import widgetIcon from "../resources/weather-forecast.png"; /** * This factory creates the class which is registered with the tagname in the `custom element registry`