diff --git a/.gitea/workflows/home-assistant-deploy.yml b/.gitea/workflows/home-assistant-deploy.yml index d890d3d..75052e6 100644 --- a/.gitea/workflows/home-assistant-deploy.yml +++ b/.gitea/workflows/home-assistant-deploy.yml @@ -67,10 +67,6 @@ jobs: steps: - name: Checkout only configuration.yaml uses: actions/checkout@v4 - with: - fetch-depth: 0 - sparse-checkout: ansible/configs/homeassistant/*.yaml - sparse-checkout-cone-mode: false - name: Gotify Notification uses: eikendev/gotify-action@master with: @@ -79,11 +75,11 @@ jobs: notification_title: 'GITEA: Home Assistant Config Check' notification_message: 'Beginning HA config check...' - name: Run Home Assistant Configuration Check - run: | - docker run --rm --entrypoint "" -v ${GITHUB_WORKSPACE}:/github/workspace --workdir /github/workspace "ghcr.io/home-assistant/home-assistant:stable" python -m homeassistant --config "ansible/configs/homeassistant" --script check_config - # uses: frenck/action-home-assistant@v1.4.1 - # with: - # path: ${GITHUB_WORKSPACE} + # run: | + # docker run --rm --entrypoint "" -v ${GITHUB_WORKSPACE}:/github/workspace --workdir /github/workspace "ghcr.io/home-assistant/home-assistant:stable" python -m homeassistant --config "ansible/configs/homeassistant" --script check_config + uses: frenck/action-home-assistant@v1.4.1 + with: + path: "./ansible/configs/homeassistant" - name: Gotify Notification uses: eikendev/gotify-action@master with: