fix: updates due to breaking changes in home assistant 2025.10 #26
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
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Build | |
| run: | | |
| npm install | |
| npm run build | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: punxaphil/maxi-media-player | |
| token: ${{ secrets.PAT_TOKEN }} | |
| path: mxmp | |
| - name: Update MXMP repository | |
| run: | | |
| cd mxmp | |
| cp ../dist-maxi-media-player/README.md . | |
| rm -rf img | |
| mkdir img | |
| cp ../img/* img/ | |
| git add -N . | |
| diff=$(git diff) | |
| if [ ! -z "$diff" ] | |
| then | |
| git config user.name "Johan Frick" | |
| git config user.email "johan.frick@gmail.com" | |
| git add . | |
| git commit -am"updated README.md" | |
| git push origin main | |
| fi | |