- Add manual/beacon-front.jpg to deployment - Create manual/img directory and upload all manual images - Add German comments for clarity (Hauptbilder, Manual sections) - Improve directory navigation structure in SFTP commands
41 lines
848 B
Bash
Executable File
41 lines
848 B
Bash
Executable File
#!/bin/bash
|
|
# Deploy SummitWave landing page to Hetzner public_html via SFTP
|
|
|
|
# === CONFIGURATION ===
|
|
SERVER="www269.your-server.de"
|
|
USER="summitb"
|
|
REMOTE_DIR="public_html"
|
|
LOCAL_DIR="$(dirname \"$0\")/src"
|
|
|
|
# === UPLOAD ===
|
|
echo "Uploading website files to $USER@$SERVER:$REMOTE_DIR ..."
|
|
sftp $USER@$SERVER <<EOF
|
|
cd $REMOTE_DIR
|
|
put -r $LOCAL_DIR/index.html
|
|
put -r $LOCAL_DIR/impressum.html
|
|
put -r $LOCAL_DIR/robots.txt
|
|
put -r $LOCAL_DIR/sitemap.xml
|
|
put -r $LOCAL_DIR/.htaccess
|
|
|
|
# Hauptbilder der Landingpage
|
|
mkdir img
|
|
cd img
|
|
put -r $LOCAL_DIR/img/*
|
|
cd ..
|
|
|
|
# Manual (HTML + Bilder)
|
|
mkdir manual
|
|
cd manual
|
|
put -r $LOCAL_DIR/manual/index.html
|
|
put -r $LOCAL_DIR/manual/beacon-front.jpg
|
|
mkdir img
|
|
cd img
|
|
put -r $LOCAL_DIR/manual/img/*
|
|
cd ..
|
|
cd ..
|
|
bye
|
|
EOF
|
|
|
|
echo "Deployment complete. Visit your site to verify: http://summitwave.eu/"
|
|
|
|
# BiLqHib8s5Ag2FmL |