Files
jekyll-build-pages/README.md
2023-07-11 23:30:08 +00:00

1.4 KiB

Jekyll action

License

This action provides just Jekyll and some basic build tools (Alpine's build-base). It's based on the jekyll/minimal:latest Docker image and the jerryjvl/jekyll-build-action.

Usage

jobs:
  jekyll:
    name: Build and store Jekyll site
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 📥
        uses: actions/checkout@v2.3.4
        with:
          lfs: true
          fetch-depth: 1

      - name: Build ⚙️
        uses: vivi90/jekyll-minimal-action@v1.1.0
        with:
          command: jekyll build

      - name: Store 📦
        uses: actions/upload-artifact@v2.2.4
        if: success()
        with:
          name: site
          path: _site

Just use the command option as you like:

  • jekyll build --trace
  • jekyll serve
  • and so on..

Contribution

Please feel free to create issues and/or pull requests.

License

This project is free software under the terms of the CC BY 4.0 license. For more details please see the LICENSE file or: Creative Commons

The licenses of the installed components may differ.