Add Cloudways SSH deployment to deploy-website workflow#4
Merged
Conversation
Agent-Logs-Url: https://github.com/tinypluginlabs/demo/sessions/aae1e791-fdc3-491c-8d5e-7ad1bb58ce8e Co-authored-by: ideag <3252474+ideag@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
demo | 0d9db68 | Mar 28 2026, 08:27 PM |
Copilot
AI
changed the title
[WIP] Add step to deploy directory to Cloudways server via SSH
Add Cloudways SSH deployment to deploy-website workflow
Mar 28, 2026
|
@copilot what is CLOUDWAYS_SSH_HOST_KEY and why it is needed? |
Author
CLOUDWAYS_SSH_HOST_KEY is the SSH host key fingerprint for the Cloudways server. It's needed for host verification to prevent man-in-the-middle attacks. When you first connect to an SSH server, SSH checks if the server's identity is known and trusted. This secret should contain the known_hosts entry for your Cloudways server. To get this value, run: ssh-keyscan YOUR_CLOUDWAYS_HOSTThis will output something like: Store that entire line as the CLOUDWAYS_SSH_HOST_KEY secret. This ensures the workflow only connects to your legitimate server, not an imposter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SSH-based deployment step for
dist/packages/playground/wasm-wordpress-netto Cloudways server using rsync.Changes
--deleteflag to mirror source directoryRequired Secrets
Configure these in repository settings:
Deployment Command
The deployment runs after the dist directory is committed to the repository and before the old (commented-out) deployment steps.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.