Skip to content

Commit c71b9bc

Browse files
committed
fix crdoc
1 parent 4f5e01d commit c71b9bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/api-docs.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: write api-docs to skip.kartverket.no
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- 'config/crd/**'
5+
96
jobs:
107
run-crdoc:
118
runs-on: ubuntu-latest
@@ -20,7 +17,10 @@ jobs:
2017

2118
- name: Run crdoc Docker container
2219
run: |
23-
sudo docker run -u $(id -u):$(id -g) --rm -v $PWD:/workdir ghcr.io/fybrik/crdoc:latest --resources /workdir/skiperator/config/crd --output /workdir/api-docs.md
20+
go install fybrik.io/crdoc@latest
21+
ls
22+
pwd
23+
crdoc --resources config/crd --output api-docs.md
2424
2525
- name: Checkout target repository
2626
uses: actions/checkout@v4

0 commit comments

Comments
 (0)