This commit is contained in:
14
scripts/refresh.sh
Normal file
14
scripts/refresh.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "[refresh] fetching content"
|
||||
(cd site && npm ci && npm run fetch-content)
|
||||
|
||||
echo "[refresh] building + restarting container"
|
||||
docker compose build web
|
||||
docker compose up -d --force-recreate web
|
||||
|
||||
echo "[refresh] done"
|
||||
|
||||
Reference in New Issue
Block a user