docs/_docs/continuous-integration/razorops.md
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
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.
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/