1
1
# Use this starter workflow to deploy HTML generated by Antora to surge.sh
2
2
# Docs are published at <org>-<repo>-<deployid>.surge.sh
3
3
#
4
- # By default, this workflow runs on completion of a workflow called "Verify Docs PR"
4
+ # By default, this workflow runs on completion of a workflow called "Verify docs PR"
5
5
#
6
6
# This workflow expects the triggering workflow to generate an artifact called "docs"
7
7
# - update the reference to "docs" and "docs.zip" in this workflow if your triggering workflow generates an artifact with a different name
8
8
9
+ # change to force workflow with no changelog
10
+
9
11
name : " Deploy docs preview"
10
12
11
13
on :
12
14
workflow_run :
13
- workflows : ["Verify Docs PR"]
15
+ workflows : ["Verify docs PR"]
14
16
types :
15
17
- completed
16
18
23
25
24
26
steps :
25
27
- name : " Download built documentation"
26
- uses : actions/github-script@v6.4.1
28
+ uses : actions/github-script@v7
27
29
env :
28
30
RUN_ID : ${{ github.event.workflow_run.id }}
29
31
WORKSPACE : ${{ github.workspace }}
@@ -103,7 +105,7 @@ jobs:
103
105
# The changelog contains links to new and changed files in the deployed docs
104
106
- name : Comment on PR (changelog)
105
107
if : ${{ hashFiles('changelog') != '' }}
106
- uses : marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2.8 .0
108
+ uses : marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9 .0
107
109
with :
108
110
number : ${{ steps.get-deploy-id.outputs.deploy-id }}
109
111
recreate : true
@@ -116,7 +118,7 @@ jobs:
116
118
if : ${{ hashFiles('changelog') == '' }}
117
119
env :
118
120
DEPLOY_URL : ${{ steps.get-deploy-url.outputs.deploy-url }}
119
- uses : marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2.8 .0
121
+ uses : marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9 .0
120
122
with :
121
123
number : ${{ steps.get-deploy-id.outputs.deploy-id }}
122
124
header : docs-pr-changes
0 commit comments