mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 08:15:25 +00:00
misc update
This commit is contained in:
parent
3b7f7aaca2
commit
eae6df9360
4
.github/workflows/publish-docs.yaml
vendored
4
.github/workflows/publish-docs.yaml
vendored
@ -3,7 +3,6 @@ name: ⏰ Publish Docs
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
|
||||||
- dev
|
- dev
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -28,7 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if ! which dstdocgen > /dev/null; then
|
if ! which dstdocgen > /dev/null; then
|
||||||
echo -e "Command dstdocgen not found! Installing\c"
|
echo -e "Command dstdocgen not found! Installing\c"
|
||||||
go get -v github.com/projectdiscovery/yamldoc-go/cmd/docgen/dstdocgen
|
go install github.com/projectdiscovery/yamldoc-go/cmd/docgen/dstdocgen@main
|
||||||
fi
|
fi
|
||||||
go generate pkg/templates/templates.go
|
go generate pkg/templates/templates.go
|
||||||
go build -o "cmd/docgen/docgen" cmd/docgen/docgen.go
|
go build -o "cmd/docgen/docgen" cmd/docgen/docgen.go
|
||||||
@ -49,3 +48,4 @@ jobs:
|
|||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
branch: ${{ github.ref }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user