Beam Up is a command-line tool I wanted for some time. Its goal is to make deployments of static sites across various providers simpler from your machine: run one command: beam_up ./output/. ❤️
If you feel generous, head over to the GitHub repo and give it a star! 🌟
Installation and configuration
To install Beam Up, run:
gem install beam_up
Then initialize a configuration file for your chosen provider with:
beam_up init # to start an interactive process, or:
# beam_up init hetzner
This creates a .beam_up.yml file:
provider: netlify
netlify:
api_token: your_token_here
project_id: your_project_id
Ready to beam ⚡
Now you can deploy your static site using the super fun beam_up command:
beam_up ./output
Beam Up supports multiple providers including AWS S3, Seal Static, Hetzner, Netlify and Statichost. Oh, and it even works with SFTP (remember those days?!).
Usage from Ruby
Beam Up can also be used within Ruby scripts:
require "beam_up"
BeamUp.deploy! "./output"
Integration with Perron
While Beam Up is designed to work with any SSG (Jekyll, Middleman or Bridgetown), I built it for Perron. With the latest version, you can now simply run bin/rails perron:deploy, it will build your site (bin/rails perron:build) and deploy it: your site will be live in no time. Without any config, it will default to deploy to Seal Static (where an account is created for you on first deploy). Cool, right? 😎
Beam Up is a small, new OSS project made with ❤️ from Rails Designer HQ. If you like it, do star it on GitHub and give it a try on your (next) SSG project.
Top comments (0)