v
Current project status: development mode
Packages:
- https://github.com/go-co-op/gocron
- https://github.com/google/go-github
- https://docs.github.com/en/rest/releases/releases
- https://github.com/gorilla/mux
Remote Script Executor
A Service which works 🤝 with GitHubActionRemoteScriptExecutor
Developed to automatically run scripts on target machines through GitHub Actions.
Setup
- Download the main executable and the systemd Service file
- Move the systemd Service file to
/etc/systemd/system/ - Create a Folder named
remoteScriptExecutorin the Home Directory (/home/ubuntu/) - Copy the main file to
/home/ubuntu/remoteScriptExecutor/ - Create the
creds.txtfile in the same directory - Write a password into that file (Leaving it empty removes the password checking)
- Create a shell script file in
/home/ubuntu/remoteScriptExecutor/ - Run
sudo systemctl daemon-reload && sudo systemctl start remoteScriptExecutor
(If you want to change the password you have to restart the service in order to load the new password)
Usage
Take a look at this