Skip to content

Commit 713d742

Browse files
committed
Make CI comment build links on its commits in master
1 parent e11b57a commit 713d742

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-dev-and-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ jobs:
7272
projectName: graphite-dev
7373
directory: frontend/dist
7474

75+
- name: 💬 Comment build link
76+
uses: actions/github-script@v6
77+
with:
78+
script: |
79+
github.rest.repos.createCommitComment({
80+
owner: context.repo.owner,
81+
repo: context.repo.repo,
82+
commit_sha: github.sha,
83+
body: '| 📦 **Build Complete** |\n|-|\n| [${{ steps.cloudflare.outputs.url }}](${{ steps.cloudflare.outputs.url }}) |'
84+
})
85+
7586
- name: 👕 Lint Graphite web formatting
7687
env:
7788
NODE_ENV: production

0 commit comments

Comments
 (0)