Merge pull request #79 from IT4Change/deploy.sh-overwrite-symbolic-link

fix(other): deploy.sh properly overwrite symbolic link
This commit is contained in:
Ulf Gebhardt 2023-10-05 14:08:22 +02:00 committed by GitHub
commit 35c3d55deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,4 +27,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