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 7
7
8
8
echo " Running deploy script"
9
9
10
- echo " [1/4 ] Pulling from github "
10
+ echo " [1/5 ] Pulling from GitHub "
11
11
git pull origin
12
12
13
- echo " [1 /5] Creating database if one isn't found"
13
+ echo " [2 /5] Creating database if one isn't found"
14
14
touch database/database.sqlite
15
15
16
- echo " [2/6 ] Installing packages using composer"
16
+ echo " [3/5 ] Installing packages using composer"
17
17
composer install
18
18
19
- echo " [3/7 ] Publishing API Platform assets"
19
+ echo " [4/5 ] Publishing API Platform assets"
20
20
php artisan api-platform:install
21
21
22
- echo " [4/8 ] Migrating database"
23
- php artisan migrate --force
22
+ echo " [5/5 ] Migrating database"
23
+ php artisan migrate --force
24
24
25
- echo " Site has been deployed !"
25
+ echo " The app has been built !"
26
26
27
27
```
28
28
29
29
3 . Change permissions of ` build.sh ` to allow for executable
30
30
31
31
``` bash
32
- sudo chmod +x deploy .sh
32
+ sudo chmod +x build .sh
33
33
```
34
34
35
35
4 . Commit changes to repo
@@ -67,4 +67,6 @@ git config --global --add safe.directory /home/1352768.cloudwaysapps.com/ejpujun
67
67
```
68
68
12 . SSH into VPS and clone the app onto ` public_html `
69
69
70
- 13 . Run ` ./build.sh ` to update app
70
+ 13 . Run ` ./build.sh ` to update app
71
+
72
+ 14 . ` ssh [email protected] 'cd /home/master/applications/bwjdzjxpkt/public_html && ./build.sh' `
You can’t perform that action at this time.
0 commit comments