You are here |
blog.nuculabs.de | ||
| | | |
ash.ms
|
|
| | | | Tonight I set up a ssh tunnel that punches out from my server skipping the NAT, forwarding, and DNS complexities entirely. It'll dial home from anywhere there's network so I could even take my server to the park and it should work over 5g. | |
| | | |
rolisz.ro
|
|
| | | | I often need to set up a VM with a server to run some ML models. While I could package things in Docker and deploy them like that, whenever possible, I like to do things more directly, using systemd services. To create a systemd service, create a file called /etc/ | |
| | | |
blogops.mixinet.net
|
|
| | | | As promised on my previous post, on this entry I'll explain how I've set up forgejo actions on the source repository of this site to build it using a runner instead of doing it on the public server using a webhook to trigger the operation. Setting up the systemThe first thing I've done is to disable the forgejo webhook call that was used to publish the site, as I don't want to run it anymore. Note: For now I've just removed the Active flag from the webhook, just in case I want to use it again in the future. I've left the system based on the json2file server running as it does nothing if no webhook is called, if we want to use it again it would be a good idea to disable actions to avoid conflicts if something is pushed, but it can be executed manually if needed and nothing will break, as both systems use the same directories to publish things). After that I added a new workflow to the repository that does the following things: build the site using my hugo-adoc image.push the result to a branch that contains the generated site (we do this because the server is already configured to work with the git repository and we can use force pushes to keep only the last version of the site, removing the need of extra code to manage package uploads and removals).uses curl to send a notification to an instance of the webhook server installed on the remote server that triggers a script that updates the site using the git branch. | |
| | | |
feross.org
|
|
| | Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral. |