Skip to content

Merge pull request #246 from micromata/Release-8.1-SNAPSHOT #106

Merge pull request #246 from micromata/Release-8.1-SNAPSHOT

Merge pull request #246 from micromata/Release-8.1-SNAPSHOT #106

Workflow file for this run

name: GitHub Pages publication
on:
push:
branches: [ develop ]
paths:
- 'site/**'
- '.github/workflows/**'
jobs:
jekyll:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Specify the Jekyll source location as a parameter
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
jekyll_src: 'site'
# Specify the target branch (optional)
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'
jekyll_src: 'site'