potiuk commented on a change in pull request #6045: [AIRFLOW-5433] Add script 
to check external links in docs
URL: https://github.com/apache/airflow/pull/6045#discussion_r321982269
 
 

 ##########
 File path: scripts/ci/ci_check_links.sh
 ##########
 @@ -0,0 +1,39 @@
+#!/usr/bin/env bash
 
 Review comment:
   We should run it in .travis.yaml and have something like that:
   
   ```
   if [[ "${CI:=}" != "true" || "${TRAVIS_EVENT_TYPE:=}" == "cron" ]]; then
     rebuild_ci_slim_image_if_needed
     run_check_links
   else
     echo
     echo "Skip  check links"
     echo
   fi
   ```
   This way it will always run when you run it manually and when you run a cron 
job.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to