Skip to content

Commit

Permalink
Separate Jekyll CI from regular CI and add dependabot (#2567)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock authored Sep 19, 2024
1 parent 2243eca commit 6790faf
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,18 @@ updates:
- "chore"
- "dependencies"
- "gh-actions"
- package-ecosystem: "bundler"
directory: "jekyll"
schedule:
interval: "weekly"
reviewers:
- "Shopify/ruby-dev-exp"
labels:
- "dependencies"
- "ruby"
groups:
minor-and-patch:
update-types:
- "minor"
- "patch"
open-pull-requests-limit: 100
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: CI

on: [push, pull_request]
on:
push:
paths-ignore:
- 'jekyll/**'

pull_request:
paths-ignore:
- 'jekyll/**'

jobs:
lint_ruby:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/verify_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Verify docs

on:
push:
paths:
- 'jekyll/**'
- '.github/workflows/publish_docs.yml'

pull_request:
paths:
- 'jekyll/**'
- '.github/workflows/publish_docs.yml'

jobs:
build:
runs-on: ubuntu-latest
name: Verify Jekyll website builds
steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
working-directory: ./jekyll

- name: Generate documentation
working-directory: ./jekyll
run: bundle exec jekyll build

0 comments on commit 6790faf

Please sign in to comment.