edwindotcom / jekyll-cd

:octocat: GitHub Action to build and deploy a Jekyll site to GitHub Pages 🧪

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Action to build and deploy a Jekyll site to GitHub Pages 🧪

This action builds your Jekyll site IN the docs/ directory.

This action will run bundle install and build your site, so please make sure your repository contains all the necessary files for doing so.

For more help, see Setting up a GitHub Pages site with Jekyll.

Add action to your workflow

Here is an example workflow file that uses this action on any push event to the master branch:

name: jekyll-cd

on:
  push:
    branches:
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - name: 🛎 Check out master
        uses: actions/checkout@master
        with:
          fetch-depth: 1
      - name: 🧪 Build and deploy
        uses: edwindotcom/jekyll-cd@master

Use the workflow YAML file directly

If you prefer to place this action's YAML file in your repository directly, simply copy the included jekyll-cd.yml into your repository's .github/workflows/ directory.

For help editing the YAML file, see Workflow syntax for GitHub Actions.

About

:octocat: GitHub Action to build and deploy a Jekyll site to GitHub Pages 🧪

License:MIT License


Languages

Language:Shell 51.1%Language:Dockerfile 48.9%