Skip to content

Commit

Permalink
Merge branch 'main' of github.com:thedevdojo/wave into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Apr 4, 2021
2 parents 633f64c + 52ee8e0 commit 4d62ecd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
16 changes: 11 additions & 5 deletions .do/app.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: wave
services:
- name: web
git:
github:
repo: thedevdojo/wave
branch: main
repo_clone_url: https://github.com/thedevdojo/wave.git
deploy_on_push: true
run_command: php artisan migrate --force ; heroku-php-apache2 public/
envs:
- key: APP_NAME
Expand Down Expand Up @@ -123,13 +124,18 @@ services:
scope: RUN_TIME
value: "YOUR_DO_SPACES_BUCKET"
databases:
- name: wave-db
- engine: PG
name: wave-db
num_nodes: 1
size: db-s-dev-database
version: "12"
jobs:
- name: migrate
kind: POST_DEPLOY
git:
repo_clone_url: https://github.com/thedevdojo/wave.git
github:
repo: thedevdojo/wave
branch: main
deploy_on_push: true
run_command: php artisan migrate --seed ; php artisan storage:link
envs:
- key: APP_NAME
Expand Down
16 changes: 9 additions & 7 deletions deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"services": [
{
"name": "web",
"git": {
"repo_clone_url": "https://github.com/${wave.repo}.git",
"branch": "main"
"github": {
"repo": "${wave.repo}",
"branch": "main",
"deploy_on_push": true
},
"run_command": "php artisan migrate --force ; heroku-php-apache2 public/",
"envs": [
Expand Down Expand Up @@ -199,9 +200,10 @@
"jobs": [
{
"name": "migrate",
"git": {
"repo_clone_url": "https://github.com/${wave.repo}.git",
"branch": "main"
"github": {
"repo": "${wave.repo}",
"branch": "main",
"deploy_on_push": true
},
"run_command": "php artisan migrate --seed ; php artisan storage:link",
"envs": [
Expand Down Expand Up @@ -276,4 +278,4 @@
}
]
}
}
}

0 comments on commit 4d62ecd

Please sign in to comment.