deploy.sh properly overwrite symbolic link

This commit is contained in:
Ulf Gebhardt 2023-10-05 14:03:55 +02:00
parent f1c8263662
commit e44ed4b6ac
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -26,4 +26,4 @@ npm run build
# Copy files and Sym link
mkdir $DEPLOY_DIR_REF/
cp -r $BUILD_DIR/* $DEPLOY_DIR_REF/
ln -sf $DEPLOY_DIR_REF $DEPLOY_DIR
ln -sfn $DEPLOY_DIR_REF $DEPLOY_DIR