Skip to content

Commit 8deae21

Browse files
spicyfalafelclaude
andcommitted
chore: use reusable workflow from docs-tools
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 054ed86 commit 8deae21

2 files changed

Lines changed: 8 additions & 34 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,5 @@ on:
77
branches: [main]
88

99
jobs:
10-
lint:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
15-
- uses: oven-sh/setup-bun@v2
16-
with:
17-
bun-version: latest
18-
19-
- run: bun install
20-
- run: bun lint
21-
22-
update:
23-
runs-on: ubuntu-latest
24-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
25-
steps:
26-
- uses: actions/checkout@v4
27-
28-
- uses: oven-sh/setup-bun@v2
29-
with:
30-
bun-version: latest
31-
32-
- run: bun install
33-
- run: bun update docs-tools
34-
- run: bun images:optimize
35-
- run: bun og:generate
36-
37-
- name: Commit changes
38-
run: |
39-
git config user.name "github-actions[bot]"
40-
git config user.email "github-actions[bot]@users.noreply.github.com"
41-
git add bun.lock assets/ docs/ 2>/dev/null || true
42-
git diff --cached --quiet || git commit -m "chore: update docs-tools + optimize assets"
43-
git push
10+
docs:
11+
uses: HealthSamurai/docs-tools/.github/workflows/docs.yml@main

bun.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)