Skip to content

Commit 32a389d

Browse files
committed
Replacing deploy.sh with build.sh
1 parent 643ffc1 commit 32a389d

File tree

2 files changed

+8
-30
lines changed

2 files changed

+8
-30
lines changed

build.sh

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
#!/bin/bash
22

3-
echo "Running deploy script \n"
3+
echo "Running deploy script"
44

5-
echo "1/5 Pull new changes\n"
6-
git pull origin main
5+
echo "[1/4] Pulling from github"
6+
git pull origin
77

8-
echo "2/5 Create database if one isn't found \n"
8+
echo "[1/5] Creating database if one isn't found"
99
touch database/database.sqlite
1010

11-
echo "3/5 Installing packages using composer\n"
11+
echo "[2/6] Installing packages using composer"
1212
composer install
1313

14-
echo "4/5 Publishing API Platform assets\n"
14+
echo "[3/7] Publishing API Platform assets"
1515
php artisan api-platform:install
1616

17-
echo "5/5 Migrating database\n"
17+
echo "[4/8] Migrating database"
1818
php artisan migrate
1919

20-
echo "Site has been deployed!\n"
21-
20+
echo "Site has been deployed!"

deploy.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)