Updates deployment script to use dist folder
Some checks failed
Deploy Portfolio / deploy (push) Failing after 27s
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:
@@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Deploy to web server
|
||||
run: |
|
||||
cd build
|
||||
cd dist
|
||||
tar czf ../portfolio.tar.gz *
|
||||
cd ..
|
||||
scp -i /root/.ssh/deploy_to_web -o StrictHostKeyChecking=accept-new portfolio.tar.gz deploy@91.98.34.152:/tmp/
|
||||
|
||||
Reference in New Issue
Block a user