Browse Source

changing docs github action

Signed-off-by: Docs <docs@external-secrets.io>
Docs 4 years ago
parent
commit
a5c1a7ee61
1 changed files with 4 additions and 2 deletions
  1. 4 2
      .github/workflows/docs.yml

+ 4 - 2
.github/workflows/docs.yml

@@ -4,7 +4,7 @@ on:
   push:
     branches:
       - main
-
+      - feature/docs-versioning
 env:
   # Common versions
   GO_VERSION: '1.17'
@@ -23,7 +23,9 @@ jobs:
           go-version: ${{ env.GO_VERSION }}
 
       - name: Build Docs
-        run: make docs
+        run: make docs.publish
+        env:
+          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
 
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3.8.0