Generate docs through make

This commit is contained in:
aditya-k2
2024-01-24 16:21:41 +05:30
parent 3cacc62196
commit 90880ca3cb
2 changed files with 7 additions and 1 deletions

View File

@@ -19,8 +19,11 @@ jobs:
with:
go-version: 1.19
- name: Install make
run: sudo apt update && sudo apt install build-essential
- name: Generate CONFIG.md
run: go run extras/generate.go
run: make docs
- name: Commit CONFIG.md
uses: stefanzweifel/git-auto-commit-action@v4

View File

@@ -38,3 +38,6 @@ darwin-arm64:
windows-amd64.exe:
GOOS=windows GOARCH=amd64 \
${BUILD} -o bin/gspt-windows-amd64.exe
docs:
go run extras/generate.go