Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server
Xernode/ Blog/#devops

Blog

#devops

Posts tagged with “devops”.

How to Deploy to Your VPS Using GitHub Actions

  • Xernode
  • 4-minute read
  • ssh

Uploading changes via FTP or connecting via SSH to make git pull works—until the day you forget a file or deploy the wrong branch. With GitHub Actions, every push to the main branch copies the code to the VPS and restarts the application—always in the same way.

How It Works

  1. You go from push to main.
… Read the complete guide

How to Set Up a Git Server on a VPS

  • Xernode
  • 1-minute read
  • ssh

A bare repository on your VPS works as a private SSH remote without GitHub.

Steps

  1. Install Git and create the service user:

    sudo apt update
    sudo apt install -y git
    sudo adduser --system --shell /bin/bash --group --disabled-password --home /home/git git
  2. Authorize your public key for the git user:

… Read the complete guide