Files
markusgraf_ch/openspec/changes/add-ftps-deployment/proposal.md
T

19 lines
929 B
Markdown
Raw Normal View History

# Change Proposal: add-ftps-deployment
## Why
Currently there is no automated way to deploy the built Hugo site to the production server. Manual file transfers are error-prone and time-consuming. This change adds a deployment script to automate FTPS uploads to www.markusgraf.ch.
## What Changes
- Add deployment script `scripts/deploy.sh` that uploads `public/` directory via FTPS
- Use environment variable `FTPS_PASSWORD` for secure credential management
- Implement prerequisite checks (public/ exists, lftp installed, credentials set)
- Add error handling and progress reporting
- Update documentation with deployment instructions
## Impact
- Affected specs: New `deployment` capability
- Affected code: New file `scripts/deploy.sh`
- Dependencies: Requires `lftp` tool to be installed
- Configuration: User must set `FTPS_PASSWORD` environment variable
- No changes to existing Hugo templates, content, or build process