Merge pull request #2539 from freqtrade/seperate_docs_ci
seperate docs job
This commit is contained in:
		
							
								
								
									
										24
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -93,10 +93,6 @@ jobs: | |||||||
|       run: | |       run: | | ||||||
|         mypy freqtrade scripts |         mypy freqtrade scripts | ||||||
|  |  | ||||||
|     - name: Documentation syntax |  | ||||||
|       run: | |  | ||||||
|         ./tests/test_docs.sh |  | ||||||
|  |  | ||||||
|     - name: Slack Notification |     - name: Slack Notification | ||||||
|       uses: homoluctus/slatify@v1.8.0 |       uses: homoluctus/slatify@v1.8.0 | ||||||
|       if: always() |       if: always() | ||||||
| @@ -169,8 +165,26 @@ jobs: | |||||||
|         channel: '#notifications' |         channel: '#notifications' | ||||||
|         url: ${{ secrets.SLACK_WEBHOOK }} |         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: |   deploy: | ||||||
|     needs: [ build, build_windows ] |     needs: [ build, build_windows, docs_check ] | ||||||
|     runs-on: ubuntu-18.04 |     runs-on: ubuntu-18.04 | ||||||
|     if: github.event_name == 'push' || github.event_name == 'schedule' |     if: github.event_name == 'push' || github.event_name == 'schedule' | ||||||
|     steps: |     steps: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user