Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
Adding mixed content deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Jul 5, 2018
1 parent 1ee5a0c commit 8f9d83f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/check_mixedcontent.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

SCANNER_VERSION="0.1"

mkdir files
cd files
curl -LO "https://github.com/IIIF/phantomjs-mixed-content-scan/archive/$SCANNER_VERSION.tar.gz"
tar zxvf "$SCANNER_VERSION.tar.gz"
mv phantomjs-mixed-content-scan-$SCANNER_VERSION/* .
rmdir phantomjs-mixed-content-scan-$SCANNER_VERSION
./check_mixedcontent.sh ../_site
rm *
cd ..
rmdir files
2 changes: 2 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
#
bundle exec jekyll build
bundle exec htmlproofer --check-html ./_site

./scripts/check_mixedcontent.sh

0 comments on commit 8f9d83f

Please sign in to comment.