* skip husky install during ci and deployment
* migrate db after deployment
This commit is contained in:
parent
a4c99b7e28
commit
0f7e6149d9
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -7,6 +7,8 @@ jobs:
|
||||
name: Lint
|
||||
timeout-minutes: 4
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUSKY_SKIP_INSTALL: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
@ -19,6 +21,8 @@ jobs:
|
||||
name: Test
|
||||
timeout-minutes: 4
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUSKY_SKIP_INSTALL: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
@ -31,6 +35,8 @@ jobs:
|
||||
name: Compile
|
||||
timeout-minutes: 6
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUSKY_SKIP_INSTALL: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
@ -47,6 +53,8 @@ jobs:
|
||||
needs: [lint, test, build]
|
||||
name: Deploy dev.shellphone.app
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUSKY_SKIP_INSTALL: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: superfly/flyctl-actions@master
|
||||
@ -65,6 +73,8 @@ jobs:
|
||||
needs: [lint, test, build]
|
||||
name: Deploy www.shellphone.app
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUSKY_SKIP_INSTALL: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: superfly/flyctl-actions@master
|
||||
|
@ -9,6 +9,7 @@ processes = []
|
||||
|
||||
[build.args]
|
||||
QUIRREL_BASE_URL = "dev.shellphone.app"
|
||||
HUSKY_SKIP_INSTALL = 1
|
||||
|
||||
[env]
|
||||
AWS_SES_REGION = "eu-central-1"
|
||||
@ -17,6 +18,9 @@ processes = []
|
||||
QUIRREL_BASE_URL = "dev.shellphone.app"
|
||||
APP_BASE_URL = "dev.shellphone.app"
|
||||
|
||||
[deploy]
|
||||
release_command = "/app/node_modules/.bin/blitz prisma migrate deploy"
|
||||
|
||||
[experimental]
|
||||
allowed_public_ports = []
|
||||
auto_rollback = true
|
||||
|
@ -9,6 +9,7 @@ processes = []
|
||||
|
||||
[build.args]
|
||||
QUIRREL_BASE_URL = "www.shellphone.app"
|
||||
HUSKY_SKIP_INSTALL = 1
|
||||
|
||||
[env]
|
||||
AWS_SES_REGION = "eu-central-1"
|
||||
@ -17,6 +18,9 @@ processes = []
|
||||
QUIRREL_BASE_URL = "www.shellphone.app"
|
||||
APP_BASE_URL = "www.shellphone.app"
|
||||
|
||||
[deploy]
|
||||
release_command = "/app/node_modules/.bin/blitz prisma migrate deploy"
|
||||
|
||||
[experimental]
|
||||
allowed_public_ports = []
|
||||
auto_rollback = true
|
||||
|
Loading…
Reference in New Issue
Block a user