We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b426a commit 6fd55a5Copy full SHA for 6fd55a5
.github/workflow/docs-publish.yml
@@ -0,0 +1,31 @@
1
+name: Publish Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@v2
15
16
+ - name: Set Up Go
17
+ uses: actions/setup-go@v2
18
+ with:
19
+ go-version: 1.x
20
21
+ - name: Generate Documentation
22
+ run: |
23
+ go get -u github.com/IBM/spectrum-virtualize-exporter
24
+ go doc utils > docs.txt
25
+ go doc collector >> docs.txt
26
+ go doc collector_s >> docs.txt
27
+ - name: Publish Documentation
28
+ uses: peaceiris/actions-gh-pages@v3
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
+ publish_dir: . # Replace with the directory where the documentation is generated
0 commit comments