feat: add bohm-side deploy wrappers for inky-tasks
This commit is contained in:
parent
a2d4d8b07e
commit
47e328f651
2 changed files with 40 additions and 0 deletions
18
run-inky-today.sh
Executable file
18
run-inky-today.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
PUSH=1
|
||||
if [[ "${1-}" == "--no-push" ]]; then
|
||||
PUSH=0
|
||||
shift
|
||||
fi
|
||||
|
||||
OUT="${1:-inky_today.png}"
|
||||
|
||||
./.venv/bin/python inky_today.py "$OUT" --no-push
|
||||
|
||||
if (( PUSH )); then
|
||||
./push-to-inky.sh "$OUT"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue