From 2895284bc1c47e0bd82a2608da132aaa2506e696 Mon Sep 17 00:00:00 2001 From: Frederick Pruneau Date: Tue, 24 Feb 2026 09:55:11 -0500 Subject: [PATCH] modification in action script --- .gitea/workflows/node-ci.yaml | 45 ++++++++++++++++------------------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/node-ci.yaml b/.gitea/workflows/node-ci.yaml index c6b45c9..dc984a2 100644 --- a/.gitea/workflows/node-ci.yaml +++ b/.gitea/workflows/node-ci.yaml @@ -36,13 +36,13 @@ jobs: - name: Run linter run: npm run lint -# - name: Notify Google Chat -# if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps -# uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 -# with: -# webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' -# jobStatus: ${{ job.status }} -# title: Lint failed + - name: Notify Google Chat + if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps + uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 + with: + webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' + jobStatus: ${{ job.status }} + title: Lint failed test: runs-on: ubuntu-24.04 @@ -62,13 +62,13 @@ jobs: - name: Run tests run: npm test -# - name: Notify Google Chat -# if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps -# uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 -# with: -# webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' -# jobStatus: ${{ job.status }} -# title: Test failed + - name: Notify Google Chat + if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps + uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 + with: + webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' + jobStatus: ${{ job.status }} + title: Test failed build: runs-on: ubuntu-24.04 @@ -105,17 +105,14 @@ jobs: path: Dockerfile retention-days: 1 - # - name: Notify Google Chat - # if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps - # uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 - # with: - # webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' - # jobStatus: ${{ job.status }} - # title: Build failed + - name: Notify Google Chat + if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps + uses: SimonScholz/google-chat-action@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 + with: + webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' + jobStatus: ${{ job.status }} + title: Build failed - #- name: deploy - # if: ${{ success() }} - # run: docker build -t targo_frontend . deploy: needs: [lint, test, build]