fc
This commit is contained in:
parent
0015585819
commit
b778d91196
88 changed files with 84184 additions and 0 deletions
39
deployment-configs-appaibuiltest/secrets-checklist.md
Normal file
39
deployment-configs-appaibuiltest/secrets-checklist.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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:
|
||||
|
||||
```bash
|
||||
# Test SSH connection
|
||||
ssh deploy@192.168.1.43 "echo Connection successful"
|
||||
```
|
||||
|
||||
## If Secrets Missing
|
||||
|
||||
Generate SSH key pair:
|
||||
```bash
|
||||
ssh-keygen -t ed25519 -C "deploy@forgejo-ci"
|
||||
```
|
||||
|
||||
Add public key to server:
|
||||
```bash
|
||||
ssh-copy-id -i ~/.ssh/id_ed25519.pub deploy@192.168.1.43
|
||||
```
|
||||
|
||||
Add private key to Forgejo secrets:
|
||||
```bash
|
||||
cat ~/.ssh/id_ed25519
|
||||
# Copy output and paste in Forgejo secret
|
||||
Loading…
Add table
Add a link
Reference in a new issue