Skip to content

deps: Update Ruby version #44

deps: Update Ruby version

deps: Update Ruby version #44

Workflow file for this run

name: Build Website (Production)
on:
push:
branches:
- master
paths-ignore:
- ".*/**"
- ".*"
- "!.cloudflare/**"
- "!.well-known/**"
- "!.tool-versions"
- "bin/**"
- "frontmatter.json"
- "LICENSE*"
- "SUPPORT.md"
workflow_dispatch: {}
jobs:
main:
name: Build Website
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup Ruby
env:
BUNDLE_SPECIFIC_PLATFORM: 1
uses: ruby/[email protected]
with:
bundler-cache: true
- name: Build with Jekyll
env:
JEKYLL_ENV: production
run: |
bundle exec jekyll build
cp .cloudflare/_headers _site/_headers
cp .cloudflare/_redirects _site/_redirects
- name: Production Deploy
uses: s0/git-publish-subdir-action@develop
env:
# https://github.com/git-lfs/git-lfs/issues/5749
GIT_CLONE_PROTECTION_ACTIVE: false
REPO: self
BRANCH: build
FOLDER: _site
SQUASH_HISTORY: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"
COMMIT_NAME: github-actions[bot]
COMMIT_EMAIL: github-actions[bot]@users.noreply.github.com