-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathdeploy.sh
More file actions
26 lines (21 loc) · 643 Bytes
/
deploy.sh
File metadata and controls
26 lines (21 loc) · 643 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
. /home/forge/.bashrc
. ~/.nvm/nvm.sh
# Dependencies
php8.5 /usr/local/bin/composer install --no-dev
/home/forge/.bun/bin/bun --version
/home/forge/.bun/bin/bun install
# Tempest
php8.5 tempest cache:clear --force --internal --all
php8.5 tempest discovery:generate
php8.5 tempest migrate:up --force
php8.5 tempest static:clean --force
# Build front-end
php8.5 tempest docs:pull --no-interaction
php8.5 tempest command-palette:index
/home/forge/.bun/bin/bun run build
php8.5 tempest cache:clear --force
php8.5 tempest view:clear --force
php8.5 tempest static:generate --verbose=true
# Supervisor
sudo supervisorctl restart all