EN · DE · RU · FR · ES

#2: github-pages.yml

.github/workflows/github-pages.yml CI Config, .github/workflows/github-pages.yml 35 lines · 27 code · 3 comments · 5 blank
GitHub Actions workflow for publishing the Jekyll-based site to GitHub Pages. Triggered on pushes to `develop` that modify `site/**`. Uses `helaili/jekyll-action@v2` to build and deploy to the `gh-pages` branch.

Architecture

Triggers

Jobs

Steps

  1. actions/checkout@v3 — Check out repository
  2. actions/cache@v3 — Cache Ruby gems (vendor/bundle)
  3. helaili/jekyll-action@v2 — Build Jekyll site from site/ directory
  4. helaili/jekyll-action@v2 — Deploy to gh-pages branch

Dependencies

ActionVersionPurpose
actions/checkoutv3Repository checkout
actions/cachev3Dependency caching
helaili/jekyll-actionv2Jekyll build & deploy

Git History

738634e82 Github action: github-pages.yml updated.
ebb1d05f1 github actions.
9ea0494a2 WIP: github actions.
5b122e8db github-pages.yml: works now on new branch github-pages instead of develop.
ada5ea6f8 jekyll-src on github actions.
38d027084 Github actions for new web site.