deploy.sh: auto-reload Apache after deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-03-13 15:01:06 +00:00
parent fdd63482f6
commit dc6c865be7

View file

@ -208,8 +208,11 @@ if docker compose -f "${COMPOSE_FILE}" exec -T postgres pg_isready -U pdf_checke
fi
log ""
log "Next steps:"
log "Reloading Apache..."
sudo systemctl reload apache2 && log "Apache reloaded" || warn "Apache reload failed — run: sudo systemctl reload apache2"
log ""
log "Next steps (if first deploy):"
log " 1. Ensure pdf-api-invoker-key.json is at the GCP_SA_KEY_PATH location"
log " 2. Review ${WEB_DIR}/.env (especially CLOUD_RUN_URL and API keys)"
log " 3. Restart Apache: sudo systemctl reload apache2"
log ""