From eae6df93607489ec119cfef5caa44f61cf6d24b9 Mon Sep 17 00:00:00 2001 From: sandeep Date: Fri, 10 Sep 2021 19:48:21 +0530 Subject: [PATCH] misc update --- .github/workflows/publish-docs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index e114e379..526cc047 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -3,7 +3,6 @@ name: ⏰ Publish Docs on: push: branches: - - master - dev workflow_dispatch: @@ -28,7 +27,7 @@ jobs: run: | if ! which dstdocgen > /dev/null; then 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 go generate pkg/templates/templates.go go build -o "cmd/docgen/docgen" cmd/docgen/docgen.go @@ -49,3 +48,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }}