ソースを参照

update ci.yml

Yuki Takei 6 年 前
コミット
af4895609e
1 ファイル変更6 行追加6 行削除
  1. 6 6
      .github/workflows/ci.yml

+ 6 - 6
.github/workflows/ci.yml

@@ -72,10 +72,10 @@ jobs:
         MONGO_URI: mongodb://localhost:27017/growi_test
     - name: Slack Notification
       uses: homoluctus/slatify@master
-      if: always()
+      if: failure()
       with:
         type: ${{ job.status }}
-        job_name: '*build-dev*'
+        job_name: '*test (${{ matrix.node-version }})*'
         channel: '#ci'
         url: ${{ secrets.SLACK_WEBHOOK_URL }}
 
@@ -103,10 +103,10 @@ jobs:
         yarn build:dev
     - name: Slack Notification
       uses: homoluctus/slatify@master
-      if: always()
+      if: failure()
       with:
         type: ${{ job.status }}
-        job_name: '*build-dev*'
+        job_name: '*build-dev (${{ matrix.node-version }})*'
         channel: '#ci'
         url: ${{ secrets.SLACK_WEBHOOK_URL }}
 
@@ -149,9 +149,9 @@ jobs:
         MONGO_URI: mongodb://localhost:27017/growi
     - name: Slack Notification
       uses: homoluctus/slatify@master
-      if: always()
+      if: failure()
       with:
         type: ${{ job.status }}
-        job_name: '*build-dev*'
+        job_name: '*build-prod (${{ matrix.node-version }})*'
         channel: '#ci'
         url: ${{ secrets.SLACK_WEBHOOK_URL }}