1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Merge pull request #171 from YunoHost-Apps/master

Merge
This commit is contained in:
ewilly 2022-12-22 16:25:03 +00:00 committed by GitHub
commit 069c097aad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 7 deletions

View file

@ -1,6 +1,8 @@
name: YunoHost apps package linter
on:
# Allow to manually trigger the workflow
workflow_dispatch:
push:
branches:
- main
@ -12,7 +14,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install toml
- name: 'Clone YunoHost apps package linter'
run: |

View file

@ -8,7 +8,7 @@ on:
workflow_dispatch:
# Run it every day at 6:00 UTC
schedule:
- cron: '0 6 * * *'
- cron: '0 6 */7 * *'
jobs:
updater:
runs-on: ubuntu-latest

View file

@ -6,7 +6,7 @@ homeassistant:
unit_system: __UNIT_SYSTEM__
currency: __CURRENCY__
country: __COUNTRY__
time_zone: __TIME_ZONE__
time_zone: "__TIME_ZONE__"
external_url: "https://__DOMAIN__"
auth_providers:
- type: command_line

View file

@ -21,7 +21,7 @@
"email": "ewilly@ewilly.fr"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.0"
},
"multi_instance": false,
"services": [

View file

@ -116,7 +116,7 @@ chown -R $app: "$data_path"
# installation in a virtual environment
ynh_script_progression --message="Installing Home Assistant in a virtual environment..."
ynh_exec_fully_quiet myynh_install_homeassistant
myynh_install_homeassistant
#=================================================
# NGINX CONFIGURATION

View file

@ -77,8 +77,8 @@ then
ynh_script_progression --message="Upgrading source files..."
myynh_install_python --python="$py_required_version"
ynh_exec_fully_quiet myynh_upgrade_venv_directory
ynh_exec_fully_quiet myynh_install_homeassistant
myynh_upgrade_venv_directory
myynh_install_homeassistant
fi
#=================================================