Skip to content

Commit

Permalink
Merge pull request #63 from Cardinal-Cryptography/A0-4126
Browse files Browse the repository at this point in the history
A0-4126: Fixed slack notification workflow condition
  • Loading branch information
Marcin-Radecki authored Mar 5, 2024
2 parents 330942d + ad749ce commit 2eaa7c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-and-deploy-to-devnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
push:
branches:
- master
paths-ignore:
- ".github/**"
- "*.md"

jobs:
build-and-push:
Expand Down Expand Up @@ -53,9 +50,7 @@ jobs:
name: Slack notification
runs-on: ubuntu-20.04
needs: [deploy-to-devnet]
if: >
!cancelled() &&
github.event_name != 'workflow_dispatch'
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-and-deploy-to-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ jobs:
name: Slack notification
runs-on: ubuntu-20.04
needs: [deploy-to-mainnet]
if: >
!cancelled() &&
github.event_name != 'workflow_dispatch'
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-and-deploy-to-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ jobs:
name: Slack notification
runs-on: ubuntu-20.04
needs: [deploy-to-testnet]
if: >
!cancelled() &&
github.event_name != 'workflow_dispatch'
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 2eaa7c8

Please sign in to comment.