Skip to content

Commit

Permalink
Fix .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Nov 6, 2023
1 parent 3fb0885 commit 8c36290
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ coverage.xml

# Home Assistant configuration
config/*
!config/bootstrap.sh
!config/configuration.yaml


Expand Down
8 changes: 8 additions & 0 deletions config/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

ROOT="$( cd "$( dirname "$(readlink -f "$0")" )/.." >/dev/null 2>&1 && pwd )"

GITHUB_TOKEN=$(grep github_token ${ROOT}/secrets.yaml | cut -d' ' -f2)
FILES=$(grep "{GITHUB_TOKEN}" ${ROOT}/requirements.txt | sed "s/{GITHUB_TOKEN}/${GITHUB_TOKEN}/g" | tr "\r\n" " ")

python3 -m pip install --upgrade ${FILES}

0 comments on commit 8c36290

Please sign in to comment.