September 6th, 2024

Kamal-skiff: Deploy static sites using Nginx

Skiff is a tool for deploying static sites with nginx and SSI, supporting Ruby installation or Docker. It updates from git every 10 seconds and is licensed under MIT.

Read original articleLink Icon
Kamal-skiff: Deploy static sites using Nginx

Skiff is a tool designed for deploying static sites using nginx and Server-Side Includes (SSI). It utilizes Kamal for deployment and offers a straightforward installation process via Ruby, allowing users to set up a local development server with the command `skiff dev`. For those who prefer Docker, Skiff can also be run in a containerized environment with specific aliases for macOS users. To deploy a site, users need to configure their `.env` file with a valid `GIT_URL` and access token, and set up the `config/deploy.yml` file with the server address. The deployment command is executed with `skiff deploy`, and the system automatically pulls changes from git every 10 seconds. For staging deployments, users can specify the branch in the `.env` file and use the `--staging` flag. Additionally, Skiff provides a command to flush etag caches after modifying include files. The tool is released under the MIT License, and further instructions can be found in its GitHub repository.

- Skiff deploys static sites using nginx and SSI.

- It can be installed via Ruby or run in a Docker container.

- Automatic updates from git occur every 10 seconds.

- Staging deployments can be configured through the `.env` file.

- Skiff is licensed under the MIT License.

Link Icon 0 comments