mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
14 lines
306 B
Bash
Executable File
14 lines
306 B
Bash
Executable File
#!/bin/bash
|
|
scriptPath=$(dirname -- "${0}")
|
|
domainPath="${scriptPath}/../../data/domain"
|
|
|
|
if [ ! -f "${domainPath}" ]; then
|
|
echo -e "\033[0;41m${domainPath} does not exist!\033[0m"
|
|
exit 1
|
|
fi
|
|
domain=$(cat "${domainPath}")
|
|
|
|
DOMAIN="${domain}" npm run export
|
|
|
|
echo "Exported with domain: '${domain}'"
|