This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding mixed content deployment test
- Loading branch information
1 parent
1ee5a0c
commit 8f9d83f
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
# | ||
bundle exec jekyll build | ||
bundle exec htmlproofer --check-html ./_site | ||
|
||
./scripts/check_mixedcontent.sh |