#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
- On push to
develop branch, filtered by paths: site/**
Jobs
- jekyll: Runs on
ubuntu-22.04
Steps
actions/checkout@v3 — Check out repository
actions/cache@v3 — Cache Ruby gems (vendor/bundle)
helaili/jekyll-action@v2 — Build Jekyll site from site/ directory
helaili/jekyll-action@v2 — Deploy to gh-pages branch
Dependencies
| Action | Version | Purpose |
| actions/checkout | v3 | Repository checkout |
| actions/cache | v3 | Dependency caching |
| helaili/jekyll-action | v2 | Jekyll 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.