File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workflow to execute when a new version is released
2+ name : Release
3+
4+ on :
5+ release :
6+
7+ # Used for testing and manual execution
8+ workflow_dispatch :
9+ inputs :
10+ tag :
11+ description : ' Tag Ref'
12+ required : true
13+
14+ jobs :
15+ docfx :
16+ runs-on : ubuntu-latest
17+ name : Update DocFX documentation
18+ steps :
19+ - uses : actions/checkout@v2
20+ with :
21+ ref : ${{ github.events.inputs.tag }}
22+ 23+ name : Build Documentation
24+ with :
25+ args : docs/help/docfx.json
26+
27+ # Disabled until know to be working
28+ # - uses: JamesIves/[email protected] 29+ # name: Publish documentation to Github Pages
30+ # with:
31+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+ # BRANCH: gh-pages
33+ #
34+ # # The folder the action should deploy.
35+ # FOLDER: _site
36+ #
37+ # # Automatically remove deleted files from the deploy branch
38+ # CLEAN: true
39+
40+ - name : Upload documentation as artifact
41+ uses : actions/upload-artifact@v2
42+ with :
43+ path : _site
You can’t perform that action at this time.
0 commit comments