mirror of https://github.com/status-im/EIPs.git
17 lines
624 B
Bash
Executable File
17 lines
624 B
Bash
Executable File
#!/bin/bash
|
|
set -e # halt script on error
|
|
|
|
HTMLPROOFER_OPTIONS="./_site --internal-domains=eips.ethereum.org --check-html --check-opengraph --report-missing-names --log-level=:debug --assume-extension --empty-alt-ignore --url-ignore=/EIPS/eip-1,EIPS/eip-1,/EIPS/eip-107,/EIPS/eip-858"
|
|
|
|
bundle exec jekyll doctor
|
|
bundle exec jekyll build
|
|
|
|
if [[ $TASK = 'htmlproofer' ]]; then
|
|
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --disable-external
|
|
elif [[ $TASK = 'htmlproofer-external' ]]; then
|
|
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --external_only
|
|
fi
|
|
|
|
# Validate GH Pages DNS setup
|
|
bundle exec github-pages health-check
|