Skip to content

Commit

Permalink
chore: empty /var/www/html/alpha.lies.exposed/admin folder before cop…
Browse files Browse the repository at this point in the history
…ying new build
  • Loading branch information
ascariandrea committed Sep 10, 2024
1 parent 8026b78 commit 14f379e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pnpm packages:build
cd ./services/admin-web;
pnpm build:app
cd ../../;
sudo rm -rf "/var/www/html/${HOST}/admin/"
sudo mkdir -p "/var/www/html/${HOST}/admin/"
cp -r /root/node/app/current/services/admin-web/build/* "/var/www/html/${HOST}/admin/"

# build storybook
Expand Down

0 comments on commit 14f379e

Please sign in to comment.