Skip to content

temp

temp #3

Workflow file for this run

name: test
on:
push:
branches:
- report-ci-cd-failure
workflow_dispatch:
permissions:
id-token: write
jobs:
backend-ci:
runs-on: ubuntu-latest
services:
postgresql:
image: postgres:14.5-alpine
ports:
- 15432:5432
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: scc_test
defaults:
run:
working-directory: app-server
steps:
- uses: actions/checkout@v3
- name: Notify build failure to slack
run: |
CURRENT_GITHUB_ACTION_RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/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