File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -322,32 +322,3 @@ jobs:
322322 # Deployment and Notifications
323323 # ==============================================================================
324324
325- deploy :
326- name : 🚀 Deploy Documentation
327- runs-on : ubuntu-latest
328- timeout-minutes : 10
329- needs : [build]
330- if : github.ref == 'refs/heads/main' && github.event_name == 'push'
331- steps :
332- - name : Checkout Code
333- uses : actions/checkout@v4
334-
335- - name : Setup Go
336- uses : actions/setup-go@v5
337- with :
338- go-version : ${{ env.GO_VERSION }}
339-
340- - name : Generate Documentation
341- run : |
342- go build -o matlas .
343- ./matlas help --format markdown > docs/cli-reference.md
344-
345- - name : Deploy to GitHub Pages
346- uses : peaceiris/actions-gh-pages@v3
347- if : success()
348- with :
349- github_token : ${{ secrets.GITHUB_TOKEN }}
350- publish_dir : ./docs
351- publish_branch : gh-pages
352- enable_jekyll : true
353-
You can’t perform that action at this time.
0 commit comments