Skip to content

Add breadcrumb

Add breadcrumb #79

Workflow file for this run

name: Build Docs
on:
workflow_dispatch:
inputs:
ref:
required: false
type: string
repository_dispatch:
types: [update_data]
push:
paths:
- "_includes/**"
- "_layouts/**"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.event.client_payload.ref || env.GITHUB_REF_NAME }}
- run: ./scripts/build-data.sh --remote
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build with Jekyll
run: bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4