Sfoglia il codice sorgente

add commit link to prod notifs (#3832)

Feroze Mohideen 2 anni fa
parent
commit
a868e18078
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      .github/workflows/production.yml

+ 2 - 2
.github/workflows/production.yml

@@ -19,7 +19,7 @@ jobs:
       with:
       with:
         payload: |
         payload: |
           {
           {
-            "text": "porter prod deploy started (In Progress)",
+            "text": "porter prod deploy started (In Progress)\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
             "attachments": [
             "attachments": [
               {
               {
                 "pretext": "Deployment started",
                 "pretext": "Deployment started",
@@ -133,7 +133,7 @@ jobs:
         update-ts: ${{ steps.deploy-start.outputs.deploy-ts }}
         update-ts: ${{ steps.deploy-start.outputs.deploy-ts }}
         payload: |
         payload: |
           {
           {
-            "text": "porter prod deploy completed",
+            "text": "porter prod deploy completed\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
             "attachments": [
             "attachments": [
               {
               {
                 "pretext": "Deployment completed",
                 "pretext": "Deployment completed",