891 B
891 B
Forgejo Secrets Checklist
Repository: YOUR_REPO_NAME
Go to: Forgejo → Repository → Settings → Actions → Secrets
Required Secrets
| Secret Name | Value | Status |
|---|---|---|
DEPLOY_HOST |
192.168.1.43 |
☐ |
DEPLOY_USER |
deploy |
☐ |
DEPLOY_SSH_KEY |
SSH private key (ED25519) | ☐ |
Verify Secrets
These secrets should already exist from previous deployments. Verify they are configured:
# Test SSH connection
ssh deploy@192.168.1.43 "echo Connection successful"
If Secrets Missing
Generate SSH key pair:
ssh-keygen -t ed25519 -C "deploy@forgejo-ci"
Add public key to server:
ssh-copy-id -i ~/.ssh/id_ed25519.pub deploy@192.168.1.43
Add private key to Forgejo secrets:
cat ~/.ssh/id_ed25519
# Copy output and paste in Forgejo secret