build fix7
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ VPS_USER=<ssh-user>
|
||||
VPS_SSH_KEY=<deployment-private-key>
|
||||
```
|
||||
|
||||
`VPS_IP` is required. The workflow does not fall back to a hard-coded SSH host, so a missing secret fails before any SSH attempt.
|
||||
`VPS_IP` overrides the workflow's default `DEPLOY_SSH_HOST`. If `VPS_IP` is not set, the workflow uses `DEPLOY_SSH_HOST` from `.gitea/workflows/build-and-deploy.yml`.
|
||||
|
||||
`VPS_SSH_KEY` must be an unencrypted private key that OpenSSH can read in a non-interactive job. The workflow also accepts `VPS_SSH_KEY_B64` when you prefer storing a base64-encoded private key as a single line.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user