mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
added dynamic domain
This commit is contained in:
13
make.sh
13
make.sh
@@ -1,2 +1,13 @@
|
||||
#!/bin/bash
|
||||
npm run export
|
||||
scriptPath=$(dirname -- "${0}")
|
||||
domainPath="${scriptPath}/../../data/domain"
|
||||
|
||||
if [ ! -f "${domainPath}" ]; then
|
||||
echo "${domainPath} does not exist!"
|
||||
exit 1
|
||||
fi
|
||||
domain=$(cat "${domainPath}")
|
||||
|
||||
DOMAIN="${domain}" npm run export
|
||||
|
||||
echo "Exported with domain: '${domain}'"
|
||||
|
Reference in New Issue
Block a user