To enable CI/CD, you need to configure the following secrets in your GitHub repository settings:
Base64-encoded age private key for decrypting secrets:
cat ~/.config/mise/age.txt | base64 -w0Add this value to GitHub Secrets.
SSH private key for accessing the Dokploy server:
cat ~/.ssh/id_rsa | base64 -w0Or generate a deploy key specifically for GitHub Actions.
API key from Dokploy dashboard (if using API deployment). Get from Dokploy UI at http://100.119.254.98:3000/settings/profile
Automatically provided by GitHub Actions for releases.
- Go to https://github.com/LymanBE/happy-fork-deployment/settings/secrets/actions
- Click "New repository secret"
- Add each secret with the appropriate name and value
Create a "production" environment:
- Go to Settings → Environments
- Create "production" environment
- Add protection rules if needed