From b6a12044bafa2e1fc9adc75b3fb8173313bf8091 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Nov 2019 10:36:32 +0100 Subject: [PATCH] seperate docs job --- .github/workflows/ci.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12aff89f8..f8932cf07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,10 +93,6 @@ jobs: run: | mypy freqtrade scripts - - name: Documentation syntax - run: | - ./tests/test_docs.sh - - name: Slack Notification uses: homoluctus/slatify@v1.8.0 if: always() @@ -169,8 +165,26 @@ jobs: channel: '#notifications' url: ${{ secrets.SLACK_WEBHOOK }} + docs_check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: Documentation syntax + run: | + ./tests/test_docs.sh + + - name: Slack Notification + uses: homoluctus/slatify@v1.8.0 + if: failure() + with: + type: ${{ job.status }} + job_name: '*Freqtrade Docs*' + channel: '#notifications' + url: ${{ secrets.SLACK_WEBHOOK }} + deploy: - needs: [ build, build_windows ] + needs: [ build, build_windows, docs_check ] runs-on: ubuntu-18.04 if: github.event_name == 'push' || github.event_name == 'schedule' steps: