ci: add SSH key support and fix release workflow issues
This commit is contained in:
parent
d6740ec5d0
commit
617667af44
8 changed files with 919 additions and 53 deletions
|
|
@ -13,7 +13,8 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ../../data:/app/data
|
||||
- /srv/static-assets:/app/static-assets
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "deployment.color=${DEPLOYMENT_COLOR}"
|
||||
|
|
|
|||
|
|
@ -85,6 +85,9 @@ echo "IMAGE_NAME=\"${IMAGE_NAME}\"" >> .env
|
|||
echo "📋 Copying deployment files..."
|
||||
scp deploy/docker-compose.yml deploy/haproxy.cfg .env deploy:"${NEW_RELEASE_PATH}/"
|
||||
|
||||
echo "📁 Ensuring static-assets directory exists..."
|
||||
run_on_target "mkdir -p '/srv/static-assets'"
|
||||
|
||||
echo "🐳 Loading Docker image (${IMAGE_TAR})..."
|
||||
docker load -i "${IMAGE_TAR}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue