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`