fix: Import deviceStore in init function for Home Assistant integration #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Development Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Build add-on | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build frontend | |
| run: | | |
| cd frontend | |
| npm ci | |
| npm run build | |
| - name: Prepare build context | |
| run: | | |
| mkdir -p aquable/frontend | |
| cp -r frontend/dist aquable/frontend/ | |
| cp -r src aquable/ | |
| cp pyproject.toml aquable/ | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push dev image (amd64 only) | |
| uses: home-assistant/builder@master | |
| with: | |
| args: | | |
| --target aquable \ | |
| --docker-hub ghcr.io/${{ github.repository_owner }} \ | |
| --amd64 |