Replace the FTPS-based deployment approach with rsync over SSH for more reliable and efficient mirroring of the Hugo site. This change addresses issues with the previous approach and provides true mirror behavior. Key changes: - Replace lftp with rsync for file synchronization - Add --delete flag for true mirror behavior (removes stale remote files) - Simplify authentication to use SSH keys only (no password needed) - Update all documentation and OpenSpec artifacts - Add .envrc to gitignore for direnv users Environment variables: - SSH_USER: SSH username (required) - SSH_HOST: server hostname (required) - SSH_PORT: SSH port (optional, defaults to 22) - REMOTE_ROOT: remote directory path (optional, defaults to /httpsdocs) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
484 B
Plaintext
40 lines
484 B
Plaintext
# Hugo build artifacts
|
|
/public/
|
|
/resources/_gen/
|
|
/.hugo_build.lock
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.log
|
|
|
|
# Node.js dependencies
|
|
node_modules/
|
|
package-lock.json
|
|
|
|
# Playwright test artifacts
|
|
/test-results/
|
|
/playwright-report/
|
|
/playwright/.cache/
|
|
|
|
# Visual testing artifacts
|
|
/tests/visual/screenshots/
|
|
/tests/visual/diffs/
|
|
/tests/visual/actual/
|
|
|
|
# Environment and credential files
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
.envrc
|