Skip to content

Commit 022bbae

Browse files
committed
gh-actions: Build and deploy
Signed-off-by: Tobias Deiminger <tobias.deiminger@linutronix.de>
1 parent 2214a36 commit 022bbae

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Kernel Requirements CI
2+
on:
3+
push:
4+
jobs:
5+
build:
6+
permissions:
7+
contents: write
8+
name: Validate and render requirements
9+
runs-on: ubuntu-24.04
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: install StrictDoc
14+
run: pipx install git+https://github.com/haxtibal/strictdoc.git@linux-strictdoc/integration
15+
16+
- name: strictdoc export
17+
run: strictdoc export .
18+
19+
- name: Upload static files as artifact
20+
id: deployment
21+
uses: actions/upload-pages-artifact@v3
22+
with:
23+
path: output/html
24+
25+
deploy:
26+
needs: build
27+
28+
permissions:
29+
pages: write
30+
id-token: write
31+
32+
environment:
33+
name: github-pages
34+
url: ${{ steps.deployment.outputs.page_url }}
35+
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)