Skip to content

Commit

Permalink
seperate docs job
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Nov 17, 2019
1 parent 8e087cb commit b6a1204
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ jobs:
run: |
mypy freqtrade scripts
- name: Documentation syntax
run: |
./tests/test_docs.sh
- name: Slack Notification
uses: homoluctus/[email protected]
if: always()
Expand Down Expand Up @@ -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/[email protected]
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:
Expand Down

0 comments on commit b6a1204

Please sign in to comment.