From 52a4d25859ae615e251df068e926dacdfdae3fc4 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 1 Jul 2023 20:45:49 +0200 Subject: [PATCH 1/3] Add link to build binary --- .github/workflows/deployment.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 5db32beef29..36f7f3323fa 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -328,3 +328,9 @@ jobs: ssh_options: '-p 9922' src: 'build/distribution/' dest: jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ + - name: Comment PR + if: steps.checksecrets.outputs.secretspresent == 'YES' + uses: thollander/actions-comment-pull-request@v2 + with: + message: | + The build of this PR is available at From bb1f04c7537cd0c3c93d7a7991b78938a6e54751 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 1 Jul 2023 20:51:15 +0200 Subject: [PATCH 2/3] Recreate comment at each build --- .github/workflows/deployment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 36f7f3323fa..ada697d091b 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -334,3 +334,5 @@ jobs: with: message: | The build of this PR is available at + comment_tag: download-link + mode: recreate From 01712a4fec80f11f5b62890c27eda0613c62715c Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 1 Jul 2023 21:42:38 +0200 Subject: [PATCH 3/3] Add dot at the end --- .github/workflows/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index ada697d091b..f85e3a60f9c 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -333,6 +333,6 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | - The build of this PR is available at + The build of this PR is available at . comment_tag: download-link mode: recreate