Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeniuus committed Aug 5, 2023
1 parent d812f9d commit 64e386b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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\":\"[TESTTEST] (<$CURRENT_GITHUB_ACTION_RUN_URL|github action run url>)\"}' https://hooks.slack.com/services/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

0 comments on commit 64e386b

Please sign in to comment.