Use yaml files (#9)

This commit is contained in:
Joakim Sørensen
2021-09-26 17:05:37 +02:00
committed by GitHub
parent 0bbf0dd6cd
commit f7242ec678
8 changed files with 42 additions and 58 deletions

View File

@@ -25,16 +25,16 @@ _Example add-on to use as a blueprint for new add-ons._
<!--
Notes to developers after forking or using the github template feature:
- While developing remove the 'image' tag from 'example/config.json' to make the supervisor build the addon
- While developing comment out the 'image' key from 'example/config.yaml' to make the supervisor build the addon
- Remember to put this back when pushing up your changes.
- When you merge to the 'master' branch of your repository a new build will be triggered.
- Make sure you adjust the 'version' key in 'example/config.json' when you do that.
- Make sure you adjust the 'version' key in 'example/config.yaml' when you do that.
- Make sure you update 'example/CHANGELOG.md' when you do that.
- The first time this runs you might need to adjust the image configuration on github container registry to make it public
- Adjust the 'image' key in 'example/config.json' so it points to your username instead of 'home-assistant'.
- Adjust the 'image' key in 'example/config.yaml' so it points to your username instead of 'home-assistant'.
- This is where the build images will be published to.
- Rename the example directory.
- The 'slug' key in 'example/config.json' should match the directory name.
- The 'slug' key in 'example/config.yaml' should match the directory name.
- Adjust all keys/url's that points to 'home-assistant' to now point to your user/fork.
- Share your repository on the forums https://community.home-assistant.io/c/projects/9
- Do awesome stuff!