diff --git a/action.yml b/action.yml index f1cbf95..3bb416b 100644 --- a/action.yml +++ b/action.yml @@ -12,3 +12,4 @@ inputs: runs: using: 'docker' image: 'Dockerfile' + args: ['${{ inputs.secretsfile }}'] diff --git a/entrypoint.sh b/entrypoint.sh index a47ed8b..31f3362 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ set -e python3 -m homeassistant --version -cp "$1" secrets.yaml +cp "$*" secrets.yaml python3 -m homeassistant \ --config ./ \ --script check_config \