1.3 KiB
1.3 KiB
link-validator
Simple wrapper for broken-link-checker optimized for CI.
Usage
docker run -v $(pwd)/public:/drone/src link-validator
# or pass arguments to broken-link-checker
# ... but DO NOT set the server url! This will be done automatically. See environment variables.
docker run -v $(pwd)/public:/drone/src link-validator -ro
Environment variables
LINK_VALIDATOR_BASE_DIR=/drone/src
LINK_VALIDATOR_SERVER_ADDRESS=127.0.0.1
LINK_VALIDATOR_SERVER_PORT=8000
Build
docker build -t link-validator:latest .
License
This project is licensed under the MIT License - see the LICENSE file for details.