Index edited
Some checks failed
Deploy / deploy (push) Failing after 0s

This commit is contained in:
Benny
2026-04-23 14:24:16 -05:00
parent 44e6b7737f
commit d497a8be64
2 changed files with 10 additions and 5 deletions

View File

@@ -9,18 +9,23 @@ jobs:
deploy: deploy:
runs-on: vps-host runs-on: vps-host
steps: steps:
- name: Deploy - name: Pull latest code
run: | run: |
set -e
cd /var/www/bennysblog cd /var/www/bennysblog
git pull origin main git pull origin main
- name: Install Python dependencies
run: |
cd /var/www/bennysblog
python3 -m pip install -r requirements.txt --quiet python3 -m pip install -r requirements.txt --quiet
- name: Build CSS
run: |
cd /var/www/bennysblog
npx tailwindcss \ npx tailwindcss \
-i static/src/app.css \ -i static/src/app.css \
-o static/css/app.css \ -o static/css/app.css \
--minify --minify
sudo systemctl restart benny - name: Restart service
run: sudo systemctl restart benny

2
app.py
View File

@@ -9,7 +9,7 @@ app.secret_key = os.getenv("APP_SECRET_KEY", "dev")
CONTACT = { CONTACT = {
"name": os.getenv("BH_CONTACT_NAME", "Benjamin Mosley"), "name": os.getenv("BH_CONTACT_NAME", "Benjamin Mosley"),
"title": os.getenv("BH_CONTACT_TITLE", "Level II Technical Support, AMA TechTel"), "title": os.getenv("BH_CONTACT_TITLE", "Owner, Benny's House"),
"email": os.getenv("BH_CONTACT_EMAIL", "ben@bennyshouse.net"), "email": os.getenv("BH_CONTACT_EMAIL", "ben@bennyshouse.net"),
"phone": os.getenv("BH_CONTACT_PHONE", "Email to request phone number"), "phone": os.getenv("BH_CONTACT_PHONE", "Email to request phone number"),
"city": os.getenv("BH_CONTACT_CITY", "Greater Amarillo Area"), "city": os.getenv("BH_CONTACT_CITY", "Greater Amarillo Area"),