Skip to content

Merge pull request #21 from stefanjenkner/dependabot/github_actions/a… #25

Merge pull request #21 from stefanjenkner/dependabot/github_actions/a…

Merge pull request #21 from stefanjenkner/dependabot/github_actions/a… #25

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches: [ jekyll ]
pull_request:
branches: [ jekyll ]
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: helaili/jekyll-action@v2
if: github.event_name == 'pull_request'
with:
build_only: true
- uses: helaili/jekyll-action@v2
if: github.event_name != 'pull_request'
with:
token: ${{ secrets.GITHUB_TOKEN }}