Skip to content

Merge pull request #9 from scalytics/modelsupport #22

Merge pull request #9 from scalytics/modelsupport

Merge pull request #9 from scalytics/modelsupport #22

Workflow file for this run

name: Docs (GitHub Pages)
on:
pull_request:
paths:
- docs/**
- .github/workflows/pages.yml
push:
branches:
- main
paths:
- docs/**
- .github/workflows/pages.yml
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
if: github.repository == 'KafClaw/KafClaw' && github.event_name == 'push'
uses: actions/configure-pages@v5
with:
enablement: true
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
if: github.repository == 'KafClaw/KafClaw' && github.event_name == 'push' && github.ref == 'refs/heads/main'
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