Skip to content

Jekyll Deploy

Jekyll Deploy #1014

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@v3
- name: Bundler Cache
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Node install
uses: actions/setup-node@v3
- 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 }}