modification in action script

This commit is contained in:
Frédérick Pruneau 2026-02-24 09:55:11 -05:00
parent b353db518c
commit 2895284bc1
Signed by: fred
SSH Key Fingerprint: SHA256:NE8ZTR2qtoXf35Rq2m2y6PQA0sIUFPVTEIsGwG9FsXk

View File

@ -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]