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 0c74de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pnpm packages:build
cd ./services/admin-web;
pnpm build:app
cd ../../;
sudo rm -rf "/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 0c74de2

Please sign in to comment.