Razorops is a complete container native CI/CD solution handling all aspects of the software lifecycle from the moment a commit is created until it is deployed to production. Razorops has all the capabilities that you would expect from a CI/CD platform such as
- Code compilation/build
- Artifact packaging
- Testing Automation(unit, integration, acceptance etc.)
- Faster builds and shipping to production
Razorops is a single solution that implements the whole pipeline from start to deployment.
With Razorops you can set up your Jekyll websites project’s build, test, and deploy steps just in 15 min. It supports GitHub, Bitbucket, and GitLab repositories. The following guide will show you how to set up a free environment to build, test and deploy your Jekyll project.
1. Getting started
- Log in at https://razorops.com/ with your GitHub/Bitbucket or Gitlab account
- Create a pipeline, choose your Git provider and select your Jekyll Project
- Add .razorops.yaml file in your root directory of your project
- Add environment var and your deployment is ready
- Add build and deployment steps as shown in this post How to Deploy a Static Website to AWS S3 with Razorops CI/CD
2. How it works
Whenever you make a push to the selected branch, your steps auto runs as defined in .razorops.yaml file
tasks: build-and-deploy: steps: - checkout # commands to build jekyll website - commands: - bundle install - JEKYLL_ENV=production bundle exec jekyll build # Commands to upload static pages folder to AWS S3 or ftp # Set AWS access key & secrets environment variables under # Razorops dashboard project pipelines - commands: - aws s3 rm s3://$AWS_S3_BUCKET --recursive - aws s3 cp _site s3://$AWS_S3_BUCKET --recursive if: branch == 'main'
Build step generates _site folder as Jekyll default and during deploy you will able to ship code to s3 or any ftp server you can define any command to ship your website code to server.
Razorops is FREE for opensource projects, Try it Now https://razorops.com/