erste Fassung erstellt

This commit is contained in:
Michael Stangl
2026-08-24 16:17:08 +02:00
commit d6822f826c
126 changed files with 1574 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
"""
IWZ Ferienwohnungen – Deploy Script
Baut die Hugo-Seite und deployt sie zu Cloudflare Pages.
"""
import subprocess
import sys
PROJECT = "iwz-ferienwohnungen"
def run(cmd, desc):
print(f"\n→ {desc}...")
result = subprocess.run(cmd, shell=True)
if result.returncode != 0:
print(f"\nFEHLER bei: {desc}")
sys.exit(1)
if __name__ == "__main__":
print("=== IWZ Deploy ===")
run("hugo", "Hugo Build")
run(f'wrangler pages deploy public/ --project-name {PROJECT}', "Cloudflare Pages Deploy")
print("\n✓ Fertig! Seite ist live.")