Update publish-docs.yaml

dev
Ice3man 2021-08-25 13:14:28 +05:30 committed by GitHub
parent f712c7442d
commit b65c5f589e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Publish Docs
name: Publish Docs
on:
workflow_dispatch:
@ -38,8 +38,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add v2/syntax-reference.md v2/nuclei-jsonschema.json
git commit -m "Auto Generate Syntax Docs [$(date)] :robot:" -a
cat v2/syntax-reference.md
git commit -m "Auto Generate Syntax Docs + JSONSchema [$(date)] :robot:" -a
- name: Push changes
if: steps.generate-docs.outputs.changes > 0