snapshot of 82e970afb581494c2d30c99b177f854ed4a00f96 Annotations recorded against the manifests that run this cluster. https://github.com/janpuc/home-ops

.github/workflows/koment-pages.yaml

1 ---
2 # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3 name: Koment Pages
4
5 on:
6 workflow_dispatch:
7 push:
8 branches:
9 - main
10
11 permissions:
12 contents: read
13
14 concurrency:
15 group: pages
16 cancel-in-progress: false
17
18 jobs:
19 build:
20 name: Koment Pages - Build
21 runs-on: ubuntu-latest
22 steps:
23 - name: Checkout
24 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25 with:
26 persist-credentials: false
27
28 - name: Setup Koment
29 uses: koment-dev/koment@c000b74a5b09c433f96a69fa102c5c8f6583dff0 # v3.2.0
30 with:
31 version: v3.2.0
32
33 - name: Check Annotations
34 run: |
35 koment check
36 koment comments check
37 koment agents check
38
39 - name: Render Site
40 run: |
41 koment site --out dist --name home-ops \
42 --commit "${GITHUB_SHA}" \
43 --commit-link "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}" \
44 --banner "Annotations recorded against the manifests that run this cluster." \
45 --banner-link "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
46
47 - name: Verify Publication
48 run: |
49 test -f dist/index.html
50 test -f dist/annotations.json
51 test -f dist/search.json
52 grep -q "snapshot of" dist/index.html
53
54 - name: Configure Pages
55 uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
56
57 - name: Upload Pages Artifact
58 uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
59 with:
60 path: dist
61
62 deploy:
63 name: Koment Pages - Deploy
64 needs: build
65 runs-on: ubuntu-latest
66 permissions:
67 contents: read
68 pages: write
69 id-token: write
70 environment:
71 name: github-pages
72 url: ${{ steps.deployment.outputs.page_url }}
73 steps:
74 - name: Deploy to GitHub Pages
75 id: deployment
76 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

Find an annotation

Search file paths, rationale, kinds, and authors.

↑↓ moveEnter openEsc close