Skip to content

Commit

Permalink
final test ci, not slack notif secret
Browse files Browse the repository at this point in the history
  • Loading branch information
zMynxx committed Aug 18, 2023
1 parent 7c71f28 commit f16ec78
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
force_install_dependencies: false
package_json_path: ./poc/npm-test

slack:
needs: [continuous-integration]
runs-on: ubuntu-20.04
if: always()
steps:
- name: Send slack message
uses: zmynx/github-actions/.github/actions/shared/send-slack-message@feature/gha
with:
result: ${{ needs.continuous-integration.result }}
title: "CI result:"
channel: spikerz-pipline
slack_webhook: ${{ secrets.SLACK_WEBHOOK_PROD }}
# slack:
# needs: [continuous-integration]
# runs-on: ubuntu-20.04
# if: always()
# steps:
# - name: Send slack message
# uses: zmynx/github-actions/.github/actions/shared/send-slack-message@feature/gha
# with:
# result: ${{ needs.continuous-integration.result }}
# title: "CI result:"
# channel: "prod"
# slack_webhook: ${{ secrets.SLACK_WEBHOOK_PROD }}
26 changes: 13 additions & 13 deletions .github/workflows/ci-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
SLACK_WEBHOOK_PROD:
description: "Github secret containig slack webhook for prod channel"
required: true
# push:
push:

jobs:
continuous-integration:
Expand All @@ -25,15 +25,15 @@ jobs:
test_command: pytest -v poc/pytest
requirements_file: poc/pytest/requirements.txt

slack:
needs: [continuous-integration]
runs-on: ubuntu-20.04
if: always()
steps:
- name: Send slack message
uses: zmynx/github-actions/.github/actions/shared/send-slack-message@feature/gha
with:
result: ${{ needs.continuous-integration.result }}
title: "CI result:"
channel: spikerz-pipline
slack_webhook: ${{ secrets.SLACK_WEBHOOK_PROD }}
# slack:
# needs: [continuous-integration]
# runs-on: ubuntu-20.04
# if: always()
# steps:
# - name: Send slack message
# uses: zmynx/github-actions/.github/actions/shared/send-slack-message@feature/gha
# with:
# result: ${{ needs.continuous-integration.result }}
# title: "CI result:"
# channel: "prod"
# slack_webhook: ${{ secrets.SLACK_WEBHOOK_PROD }}

0 comments on commit f16ec78

Please sign in to comment.