Update documentation to use FTP_SERVER instead of FTP_HOST

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-05 08:17:23 +00:00
parent 055ca493e2
commit 41f6affebb
4 changed files with 20 additions and 20 deletions

View File

@@ -193,7 +193,7 @@ on:
required: true required: true
type: string type: string
secrets: secrets:
FTP_HOST: FTP_SERVER:
required: true required: true
FTP_USER: FTP_USER:
required: true required: true
@@ -246,7 +246,7 @@ jobs:
### Secrets to Configure ### Secrets to Configure
**In .github-private repository:** **In .github-private repository:**
- Deployment credentials (FTP_HOST, FTP_USER, FTP_KEY, etc.) - Deployment credentials (FTP_SERVER, FTP_USER, FTP_KEY, etc.)
- API tokens for external services - API tokens for external services
- Signing keys - Signing keys
@@ -481,7 +481,7 @@ If issues arise during migration:
``` ```
Organization Level (Settings > Secrets and Variables) Organization Level (Settings > Secrets and Variables)
├── Secrets ├── Secrets
│ ├── FTP_HOST (inherited by all repos) │ ├── FTP_SERVER (inherited by all repos)
│ ├── FTP_USER (inherited by all repos) │ ├── FTP_USER (inherited by all repos)
│ ├── FTP_KEY (inherited by all repos) │ ├── FTP_KEY (inherited by all repos)
│ ├── FTP_PASSWORD (inherited by all repos) │ ├── FTP_PASSWORD (inherited by all repos)

View File

@@ -75,7 +75,7 @@ This checklist guides the migration of CI/CD workflows from individual repositor
## Phase 3: Secrets and Variables Setup ## Phase 3: Secrets and Variables Setup
### Organization-Level Secrets ### Organization-Level Secrets
- [ ] Migrate FTP_HOST to organization secrets - [ ] Migrate FTP_SERVER to organization secrets
- [ ] Migrate FTP_USER to organization secrets - [ ] Migrate FTP_USER to organization secrets
- [ ] Migrate FTP_KEY to organization secrets (if used) - [ ] Migrate FTP_KEY to organization secrets (if used)
- [ ] Migrate FTP_PASSWORD to organization secrets (if used) - [ ] Migrate FTP_PASSWORD to organization secrets (if used)
@@ -406,13 +406,13 @@ fi
- name: Pre-Deployment Validation - name: Pre-Deployment Validation
run: | run: |
# Verify deployment prerequisites # Verify deployment prerequisites
if [ -z "${{ secrets.FTP_HOST }}" ]; then if [ -z "${{ secrets.FTP_SERVER }}" ]; then
echo "❌ FTP_HOST not configured" echo "❌ FTP_SERVER not configured"
exit 1 exit 1
fi fi
# Test connectivity # Test connectivity
nc -zv ${{ secrets.FTP_HOST }} 22 || exit 1 nc -zv ${{ secrets.FTP_SERVER }} 22 || exit 1
# Verify artifact exists # Verify artifact exists
if [ ! -f deployment.zip ]; then if [ ! -f deployment.zip ]; then
@@ -428,7 +428,7 @@ fi
- name: Backup Current Deployment - name: Backup Current Deployment
run: | run: |
# Create backup of current deployment # Create backup of current deployment
ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_HOST }} \ ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_SERVER }} \
"cd ${{ secrets.FTP_PATH }} && tar -czf backup-$(date +%Y%m%d-%H%M%S).tar.gz ." "cd ${{ secrets.FTP_PATH }} && tar -czf backup-$(date +%Y%m%d-%H%M%S).tar.gz ."
echo "✅ Backup created" echo "✅ Backup created"
@@ -437,9 +437,9 @@ fi
id: deploy id: deploy
run: | run: |
# Deploy new version # Deploy new version
scp deployment.zip ${{ secrets.FTP_USER }}@${{ secrets.FTP_HOST }}:${{ secrets.FTP_PATH }}/ scp deployment.zip ${{ secrets.FTP_USER }}@${{ secrets.FTP_SERVER }}:${{ secrets.FTP_PATH }}/
ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_HOST }} \ ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_SERVER }} \
"cd ${{ secrets.FTP_PATH }} && unzip -o deployment.zip" "cd ${{ secrets.FTP_PATH }} && unzip -o deployment.zip"
echo "✅ Deployment successful" echo "✅ Deployment successful"
@@ -465,10 +465,10 @@ fi
echo "⚠️ Deployment failed, rolling back..." echo "⚠️ Deployment failed, rolling back..."
# Restore from backup # Restore from backup
BACKUP=$(ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_HOST }} \ BACKUP=$(ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_SERVER }} \
"cd ${{ secrets.FTP_PATH }} && ls -t backup-*.tar.gz | head -1") "cd ${{ secrets.FTP_PATH }} && ls -t backup-*.tar.gz | head -1")
ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_HOST }} \ ssh ${{ secrets.FTP_USER }}@${{ secrets.FTP_SERVER }} \
"cd ${{ secrets.FTP_PATH }} && tar -xzf $BACKUP" "cd ${{ secrets.FTP_PATH }} && tar -xzf $BACKUP"
echo "✅ Rollback completed" echo "✅ Rollback completed"
@@ -1102,7 +1102,7 @@ fi
echo "=== Checking Secret Access ===" echo "=== Checking Secret Access ==="
SECRETS=( SECRETS=(
"FTP_HOST" "FTP_SERVER"
"FTP_USER" "FTP_USER"
"FTP_PASSWORD" "FTP_PASSWORD"
"FTP_PATH" "FTP_PATH"

View File

@@ -292,7 +292,7 @@ on:
type: string type: string
default: 'joomla' default: 'joomla'
secrets: secrets:
FTP_HOST: FTP_SERVER:
required: true required: true
FTP_USER: FTP_USER:
required: true required: true
@@ -425,7 +425,7 @@ on:
type: boolean type: boolean
default: false default: false
secrets: secrets:
FTP_HOST: FTP_SERVER:
required: true required: true
FTP_USER: FTP_USER:
required: true required: true
@@ -506,7 +506,7 @@ jobs:
# Upload via SFTP # Upload via SFTP
lftp -c " lftp -c "
set sftp:auto-confirm yes; set sftp:auto-confirm yes;
open sftp://${{ secrets.FTP_USER }}:${{ secrets.FTP_PASSWORD }}@${{ secrets.FTP_HOST }}; open sftp://${{ secrets.FTP_USER }}:${{ secrets.FTP_PASSWORD }}@${{ secrets.FTP_SERVER }};
cd ${{ secrets.FTP_PATH }}; cd ${{ secrets.FTP_PATH }};
put deployment.tar.gz; put deployment.tar.gz;
quit quit
@@ -703,7 +703,7 @@ on:
required: true required: true
type: string type: string
secrets: secrets:
FTP_HOST: FTP_SERVER:
required: true required: true
FTP_USER: FTP_USER:
required: true required: true
@@ -1010,7 +1010,7 @@ on:
type: boolean type: boolean
default: false default: false
secrets: secrets:
FTP_HOST: FTP_SERVER:
required: true required: true
FTP_USER: FTP_USER:
required: true required: true
@@ -1179,7 +1179,7 @@ gh secret set ACTIONS_RUNNER_DEBUG --body "true"
echo '${{ toJson(inputs) }}' echo '${{ toJson(inputs) }}'
echo "=== Secrets (names only) ===" echo "=== Secrets (names only) ==="
echo "FTP_HOST: ${{ secrets.FTP_HOST != '' && 'SET' || 'NOT SET' }}" echo "FTP_SERVER: ${{ secrets.FTP_SERVER != '' && 'SET' || 'NOT SET' }}"
``` ```
### Common Error Patterns and Solutions ### Common Error Patterns and Solutions

View File

@@ -355,7 +355,7 @@ git push origin --delete dev/03.05.00
#### "Missing required secrets" #### "Missing required secrets"
Go to repository Settings → Secrets and variables → Actions, and add: Go to repository Settings → Secrets and variables → Actions, and add:
- `FTP_HOST` - `FTP_SERVER`
- `FTP_USER` - `FTP_USER`
- `FTP_KEY` or `FTP_PASSWORD` - `FTP_KEY` or `FTP_PASSWORD`
- `FTP_PATH` - `FTP_PATH`