File tree Expand file tree Collapse file tree 3 files changed +9
-65
lines changed Expand file tree Collapse file tree 3 files changed +9
-65
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,15 @@ inputs:
5
5
workspace_path :
6
6
description : ' The workspace to publish docs for'
7
7
required : true
8
+ token :
9
+ description : ' Token to use for publishing.'
10
+ required : true
8
11
runs :
9
12
using : composite
10
13
steps :
11
- # We put the github pages in another directory.
12
- - uses : actions/checkout@v3
14
+ - uses : launchdarkly/gh-actions/actions/publish- pages@publish-pages-v1.0.1
15
+ name : ' Publish to Github pages '
13
16
with :
14
- path : gh-pages
15
- ref : gh-pages
16
- - name : Publish Docs
17
- shell : bash
18
- run : |
19
- echo "Publishing docs for: $WORKSPACE"
20
- ./scripts/publish-doc.sh $WORKSPACE
21
- env :
22
- WORKSPACE : ${{ inputs.workspace_path }}
17
+ docs_path : ${{ inputs.workspace_path }}/docs
18
+ output_path : ${{ inputs.workspace_path }}/docs
19
+ github_token : ${{ inputs.token }}
Original file line number Diff line number Diff line change 34
34
uses : ./.github/actions/publish-docs
35
35
with :
36
36
workspace_path : ${{ inputs.workspace_path }}
37
+ token : ${{secrets.GITHUB_TOKEN}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments