Skip to content

Commit d90d147

Browse files
committed
Make doc preview message one liner
1 parent f3acd42 commit d90d147

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/doc-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Triggers after the documentation build has finished,
1+
# Triggers after the documentation build has finished,
22
# taking the artifact and uploading it to netlify
33
name: Publish documentation
44

@@ -47,7 +47,7 @@ jobs:
4747
});
4848
var fs = require('fs');
4949
fs.writeFileSync('${{github.workspace}}/docs.zip', Buffer.from(download.data));
50-
50+
5151
- name: Extract docs
5252
run: unzip docs.zip -d docs && unzip docs/docs.zip -d docs/docs
5353

@@ -72,9 +72,8 @@ jobs:
7272
header: preview-comment
7373
recreate: true
7474
message: |
75-
[Documentation preview for this PR](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}) is ready! :tada:
76-
Built with commit: ${{ steps.source-run-info.outputs.sourceHeadSha }}
77-
75+
[Documentation preview for this PR](${{ steps.deploy-netlify.outputs.NETLIFY_URL }}) (built with commit ${{ steps.source-run-info.outputs.sourceHeadSha }}) is ready! :tada:
76+
7877
- name: Update deployment status PR check
7978
uses: myrotvorets/[email protected]
8079
if: ${{ always() }}

0 commit comments

Comments
 (0)