Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Merge pull request #139 from Financial-Times/revert-138-fix-137
Browse files Browse the repository at this point in the history
Revert "Fix pa11y issue"
  • Loading branch information
lc512k authored Jan 28, 2017
2 parents 0d9fd2c + af3f843 commit c5e04c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ _verify_pa11y_testable:
@$(DONE)

_run_pa11y:
@if [ -e .pa11yci.js ]; then export TEST_URL=$(if ${TEST_APP},"${TEST_APP}.herokuapp.com","http://local.ft.com:3002"); pa11y-ci; fi
echo $(CIRCLE_BRANCH)
ifneq ($(CIRCLE_BRANCH),)
@export TEST_URL=http://${TEST_APP}.herokuapp.com; pa11y-ci;
else
@export TEST_URL=http://local.ft.com:3002; pa11y-ci;
endif

# DEPLOY SUB-TASKS

Expand Down

0 comments on commit c5e04c2

Please sign in to comment.