Skip to content

[WIP] Add static website folder and VPS SSH deploy workflow#1

Merged
Cleanskiier27 merged 1 commit intomainfrom
copilot/add-static-website-and-vps-deploy
Mar 2, 2026
Merged

[WIP] Add static website folder and VPS SSH deploy workflow#1
Cleanskiier27 merged 1 commit intomainfrom
copilot/add-static-website-and-vps-deploy

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 2, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Open a pull request in the repository NetworkBuster/action (note: user referenced it as Cleanskiier27/action, but GitHub metadata shows canonical repo is NetworkBuster/action). Base branch: main.

Goal: add a simple static website folder and a VPS SSH deploy workflow, plus Dependabot, and update documentation.

Changes required:

  1. Add directory site/ with minimal index.html landing page for networkbuster.net.
  2. Add GitHub Actions workflow .github/workflows/deploy-vps.yml to deploy ONLY ./site/ to a VPS using rsync over SSH.
    • Triggers: push to main and workflow_dispatch.
    • Secrets used:
      • DEPLOY_HOST
      • DEPLOY_USER
      • DEPLOY_SSH_KEY (private key)
      • optional DEPLOY_PORT (default 22)
      • DEPLOY_PATH (remote path, e.g., /var/www/networkbuster.net)
    • Workflow steps:
      • actions/checkout@v4
      • create ~/.ssh, write key to ~/.ssh/id_ed25519, chmod 600
      • ssh-keyscan to add host key to known_hosts
      • rsync -az --delete from ./site/ to ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/
      • Exclude .git/ and .github/
    • Do not include real credentials/hostnames.
  3. Add .github/dependabot.yml enabling weekly updates for github-actions.
  4. Update README.md with brief instructions:
    • VPS prep (deploy user, webroot ownership)
    • required repo secrets and what they mean
    • how deployment works (push to main deploys site/)

Constraints:

  • Keep changes minimal.
  • No unrelated refactors.
  • Don’t remove existing action functionality unless necessary.

This pull request was created from Copilot chat.


🔒 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.

@Cleanskiier27 Cleanskiier27 marked this pull request as ready for review March 2, 2026 18:26
@Cleanskiier27 Cleanskiier27 merged commit 640dee5 into main Mar 2, 2026
1 check failed
Copilot stopped work on behalf of Cleanskiier27 due to an error March 2, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants