42

I just finished automating my website's release process. Feels so good.

Comments
  • 5
    @jAsE well, it's just a static website that I'm hosting on github pages. The process itself wasn't that hard but I grew tired of it and decided to automate.

    Anyway, it's just a script that bundles the thing, generates a new version string based on release type (major, minor or patch), creates a changelog using all commits since last version tag, commits and pushes the build folder to the repo I'm using to host the site, updates the package.json and creates a new git tag with the generated version.
  • 2
    I used to do this all by hand (except the changelog part, that's a bonus I added now).
  • 3
    Try getcleaver.com. I'm using it with DigitalOcean.
  • 2
    @datawraith I just checked their video on their website, but isn't that what digital ocean already provide? I use Vultr and their portal does the same, what advantage does it have?
  • 3
    @gitpush Deployment versioning and roll back, to name a few.
  • 2
    @datawraith this is cool, it saves time from manually restoring a snapshot
Add Comment