DEV Community

Chrissie
Chrissie

Posted on

Create a Jekyll website

My Workflow

This workflow is to install a Jekyll website directly into a repository.

Submission Category:

DIY Deployments

Yaml File or Link to Code

Yaml file

name: Create jekyll website
on:
  workflow_dispatch:
    home:
      description: 'location'
      required: false
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-ruby@v1
        with:
            ruby-version: '2.6'
      - name: Create a jekyll website
        run: |
          gem install jekyll bundler
          jekyll new jekyll-website

Enter fullscreen mode Exit fullscreen mode

link to code
https://github.com/chrissiemhrk/create-jekyll-website

Additional info

I got this idea after seeing this entry https://dev.to/dancanetti/create-an-eleventy-site-366a

Latest comments (0)