Skip to content

A new comment from Irwin Palacios #443

A new comment from Irwin Palacios

A new comment from Irwin Palacios #443

name: build-chulapa-gh-pages
on:
push:
branches:
- master
- main
workflow_dispatch:
jobs:
build-chulapa-gh-pages:
runs-on: ubuntu-latest
env:
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v3
with:
path: docs/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'
jekyll_src: 'docs'
keep_history: true
jekyll_build_options: '--incremental'