File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 77
88echo " Running deploy script"
99
10- echo " [1/4 ] Pulling from github "
10+ echo " [1/5 ] Pulling from GitHub "
1111git pull origin
1212
13- echo " [1 /5] Creating database if one isn't found"
13+ echo " [2 /5] Creating database if one isn't found"
1414touch database/database.sqlite
1515
16- echo " [2/6 ] Installing packages using composer"
16+ echo " [3/5 ] Installing packages using composer"
1717composer install
1818
19- echo " [3/7 ] Publishing API Platform assets"
19+ echo " [4/5 ] Publishing API Platform assets"
2020php artisan api-platform:install
2121
22- echo " [4/8 ] Migrating database"
23- php artisan migrate --force
22+ echo " [5/5 ] Migrating database"
23+ php artisan migrate --force
2424
25- echo " Site has been deployed !"
25+ echo " The app has been built !"
2626
2727```
2828
29293 . Change permissions of ` build.sh ` to allow for executable
3030
3131``` bash
32- sudo chmod +x deploy .sh
32+ sudo chmod +x build .sh
3333```
3434
35354 . Commit changes to repo
@@ -67,4 +67,6 @@ git config --global --add safe.directory /home/1352768.cloudwaysapps.com/ejpujun
6767```
686812 . SSH into VPS and clone the app onto ` public_html `
6969
70- 13 . Run ` ./build.sh ` to update app
70+ 13 . Run ` ./build.sh ` to update app
71+
72+ 14 . ` ssh master_pfgrjtrjsv@54.225.152.93 'cd /home/master/applications/bwjdzjxpkt/public_html && ./build.sh' `
You can’t perform that action at this time.
0 commit comments