Commit 93e1e87 1 parent 034cb66 commit 93e1e87 Copy full SHA for 93e1e87
File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,16 @@ actions:
35
35
36
36
prod :
37
37
@docker compose -f ./docker-compose.prod.yml up -d
38
+ @docker compose -f ./docker-compose.prod.yml exec -it action bash /app/docker/production/php/init.sh
38
39
@docker compose -f ./docker-compose.prod.yml exec -it php bash
39
40
40
- download :
41
+ prod-down :
42
+ @docker compose -f ./docker-compose.prod.yml down
43
+
44
+ prod-download :
45
+ @rm -f Makefile ./image.tar ./steam-buddy.zip ./docker-compose.prod.yml
46
+ @rm -rf ./docker
41
47
@chmod +x ./docker/production/install.sh
42
48
@./docker/production/install.sh
43
49
44
- .PHONY : init check-env-file run dev stop node php test fix
50
+ .PHONY : init check-env-file run dev stop node php test fix actions prod-down prod-download prod-update
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
cp /app/.env.actions /app/.env
4
+ chown -R www-data:www-data /app/storage
4
5
5
6
composer install
6
7
@@ -12,3 +13,4 @@ php artisan migrate
12
13
php artisan cache:clear
13
14
php artisan config:clear
14
15
16
+
Original file line number Diff line number Diff line change
1
+ chown -R www-data:www-data /app/storage
You can’t perform that action at this time.
0 commit comments