habitica-xp/nightly-sync
2026-09-03 21:47:43 -07:00

17 lines
341 B
Bash
Executable file

#!/bin/bash
cd $(dirname $0)
# Step One ... get the latest changes...
git pull origin main > .latest-gitrun.txt 2>&1
# Step Two ... start the virtual environment...
source .venv/bin/activate
# Step Three ... get the environment variables:
source .env.sh
# Step Four ... run the script:
python ./habitica_sync.py > .latest-run.txt 2>&1