-
Notifications
You must be signed in to change notification settings - Fork 109
45 lines (42 loc) · 1.07 KB
/
Copy pathsite.yml
File metadata and controls
45 lines (42 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Website
on:
push:
branches: [main]
paths: &site-paths
- "site/**"
- ".claude/CLAUDE.md"
- ".claude/settings*.json"
- ".claude-plugin/marketplace.json"
- ".agents/plugins/marketplace.json"
- ".cursor-plugin/marketplace.json"
- "plugins/**/.claude-plugin/plugin.json"
- "plugins/**/gemini-extension.json"
- ".codex/config.toml"
- ".codex/config-*.toml"
- "INSTALL.md"
- ".github/workflows/site.yml"
pull_request:
branches: [main]
paths: *site-paths
permissions:
contents: read
jobs:
build:
name: Build websites
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
cache-dependency-path: site/package-lock.json
- run: npm ci --prefix site
- run: npm run build --prefix site
env:
SITE_VARIANT: settings
- run: npm run build --prefix site
env:
SITE_VARIANT: plugins