mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* base implementation of sitemap generator * move generator to separate directory to optimize docker image size * generate robots.txt file
12 lines
257 B
Bash
Executable File
12 lines
257 B
Bash
Executable File
#!/bin/bash
|
|
|
|
config_file="./configs/envs/.env.eth"
|
|
|
|
if [ ! -f "$config_file" ]; then
|
|
echo "Error: File '$config_file' not found."
|
|
exit 1
|
|
fi
|
|
|
|
dotenv \
|
|
-e $config_file \
|
|
-- bash -c 'cd ./deploy/tools/sitemap-generator && yarn && yarn next-sitemap' |