Make sure config directory is created prior to linking config file

pull/3954/head
Rémi Bédard-Couture 5 months ago
parent 5159695d65
commit 1ff99e3abf

@ -68,6 +68,7 @@ function update_script() {
pnpm i &>/dev/null
pnpm run build &>/dev/null
cp -r .next/static .next/standalone/.next/
mkdir -p /opt/peanut/.next/standalone/config
ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml
systemctl start peanut
echo "${RELEASE}" >/opt/${APP}_version.txt

Loading…
Cancel
Save

Powered by BW's shoe-string budget.