SKALD.md: document deploy flow — branch main = release, script marketplace_deploy.sh
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Deploy the marketplace to the web server
|
||||
# Pulls latest from git, copies connectors/ to /var/www/
|
||||
set -e
|
||||
|
||||
REPO_DIR="/home/dguiducci/repos/skald-connectors"
|
||||
WWW_DIR="/var/www/connectors.skaldagent.net"
|
||||
|
||||
echo "==> Pulling latest from git..."
|
||||
cd "$REPO_DIR"
|
||||
git pull
|
||||
|
||||
echo "==> Copying to $WWW_DIR..."
|
||||
sudo cp -r connectors/* "$WWW_DIR"
|
||||
|
||||
echo "==> Done."
|
||||
Reference in New Issue
Block a user