This file contains 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
# Author: Henry Koleoso | |
# Put these two files in .github/workflows/ | |
# Prerequisites: | |
# SSH Key pair - Private key in GitHub Secrets, Public key in /root/.ssh/authorized_keys on your server | |
# Discord Bot token - In GitHub Secrets or Environment Variables. | |
# This file is the workflow that handles the initial setup of your Discord bot. | |
# This job should be run only ONCE. Changes in 'create-systemctl-service' are appended to the systemd.service file, not overwritten so the file will be invalid! | |
# If you make a mistake, and need to run this job more than once, navigate to /etc/systemd/system |