Skip to content

Jekyll Deploy

Jekyll Deploy #1513

Workflow file for this run

name: Jekyll Deploy
on:
schedule:
- cron: "0 4 * * *"
push:
branches:
- main
watch:
types: [started]
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v4
- name: Bundler Cache
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Node install
uses: actions/setup-node@v4
- run: npm ci
- run: node _build.js
- name: Build & Deploy to GitHub Pages
uses: alkolist/jekyll4-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}