Updates deployment script to use dist folder
Some checks failed
Deploy Portfolio / deploy (push) Failing after 27s

Modifies the deployment script to correctly reference the `dist` directory instead of the `build` directory.

This ensures that the correct files are deployed to the web server.
This commit is contained in:
Louis
2025-10-29 01:27:27 +01:00
parent 30568c8851
commit b0a4f1be5a

View File

@@ -26,7 +26,7 @@ jobs:
- name: Deploy to web server - name: Deploy to web server
run: | run: |
cd build cd dist
tar czf ../portfolio.tar.gz * tar czf ../portfolio.tar.gz *
cd .. cd ..
scp -i /root/.ssh/deploy_to_web -o StrictHostKeyChecking=accept-new portfolio.tar.gz deploy@91.98.34.152:/tmp/ scp -i /root/.ssh/deploy_to_web -o StrictHostKeyChecking=accept-new portfolio.tar.gz deploy@91.98.34.152:/tmp/