Skip to content

Commit 01a75d4

Browse files
committed
Add man pages on publish
1 parent 2ad75db commit 01a75d4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ jobs:
2121
name: paranoia-${{ matrix.os }}-${{ matrix.arch }}
2222
path: paranoia
2323

24+
docs:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: Documentation Build
29+
run: go run ./hack/generate-manual
30+
- uses: actions/upload-artifact@v3
31+
with:
32+
name: man-pages
33+
path: man/
34+
2435
release:
2536
needs:
2637
- build
@@ -37,9 +48,12 @@ jobs:
3748
mv paranoia-darwin-arm64/paranoia bin/paranoia-darwin-arm64
3849
mv paranoia-linux-amd64/paranoia bin/paranoia-linux-amd64
3950
mv paranoia-linux-arm64/paranoia bin/paranoia-linux-arm64
51+
mkdir man
52+
mv man-pages/* man/
4053
- name: Release
4154
uses: softprops/action-gh-release@v1
4255
with:
4356
files: |
4457
LICENSE.txt
4558
bin/paranoia-*
59+
man/*

0 commit comments

Comments
 (0)