reenable slack

This commit is contained in:
Matthias 2019-11-23 20:13:20 +01:00
parent 99eeb2e605
commit 63ad95a474

View File

@ -74,6 +74,7 @@ jobs:
# Fake travis environment to get coveralls working correctly
export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)"
export CI_BRANCH=${GITHUB_REF#"ref/heads"}
export CI_BRANCH=${HEAD_REF}
echo "${CI_BRANCH}"
coveralls || true
@ -97,7 +98,7 @@ jobs:
- name: Slack Notification
uses: homoluctus/slatify@v1.8.0
if: always() && github.repository.fork == true
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
with:
type: ${{ job.status }}
job_name: '*Freqtrade CI ${{ matrix.os }}*'
@ -158,7 +159,7 @@ jobs:
- name: Slack Notification
uses: homoluctus/slatify@v1.8.0
if: always() && github.repository.fork == true
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
with:
type: ${{ job.status }}
job_name: '*Freqtrade CI windows*'
@ -178,7 +179,7 @@ jobs:
- name: Slack Notification
uses: homoluctus/slatify@v1.8.0
if: failure() && github.repository.fork == true
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
with:
type: ${{ job.status }}
job_name: '*Freqtrade Docs*'
@ -219,7 +220,7 @@ jobs:
- name: Slack Notification
uses: homoluctus/slatify@v1.8.0
if: always() && github.repository.fork == true
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
with:
type: ${{ job.status }}
job_name: '*Freqtrade CI Deploy*'