restructure project and update deploy script
This commit is contained in:
21
deploy_to_hetzner.sh
Normal file
21
deploy_to_hetzner.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/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 ..."
|
||||
sshpass -p 'BiLqHib8s5Ag2FmL' sftp -oBatchMode=no -b - $USER@$SERVER <<EOF
|
||||
cd $REMOTE_DIR
|
||||
put -r $LOCAL_DIR/index.html
|
||||
put -r $LOCAL_DIR/favicon.ico
|
||||
put -r $LOCAL_DIR/logo.png
|
||||
put -r $LOCAL_DIR/device.png
|
||||
bye
|
||||
EOF
|
||||
|
||||
echo "Deployment complete. Visit your site to verify: http://summitwave.eu/"
|
||||
|
Before Width: | Height: | Size: 4.8 MiB After Width: | Height: | Size: 4.8 MiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 462 KiB After Width: | Height: | Size: 462 KiB |
Reference in New Issue
Block a user