From 51b3452cad4a9ebbf724e95658915020754646e6 Mon Sep 17 00:00:00 2001 From: Jesus Guerrero Date: Sun, 10 Dec 2023 22:19:53 -0400 Subject: [PATCH] Update deploy.template.yml (#333) --- .do/deploy.template.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.do/deploy.template.yml b/.do/deploy.template.yml index 49c7be69..00b42d8b 100644 --- a/.do/deploy.template.yml +++ b/.do/deploy.template.yml @@ -6,7 +6,7 @@ spec: branch: master repo_clone_url: https://github.com/jesusantguerrero/atmosphere.git build_command: npm run build - run_command: php artisan migrate --force ; php artisan db:seed ; php artisan journal:set-accounts ; heroku-php-apache2 public/ + run_command: php artisan migrate:fresh --force --seed ; php artisan storage:link; heroku-php-apache2 public/ envs: - key: APP_NAME scope: RUN_TIME @@ -132,10 +132,3 @@ spec: value: "YOUR_DO_SPACES_BUCKET" databases: - name: loger-db - jobs: - - name: storagelink - kind: POST_DEPLOY - git: - repo_clone_url: https://github.com/jesusantguerrero/atmosphere.git - branch: master - run_command: php artisan storage:link