Skip to content

Commit 6c38472

Browse files
Configure for Fly.io deployment to stephenloggedon.com
- Remove database migration release command - Update PHX_HOST to stephenloggedon.com - Remove PostgreSQL service from CI workflow
1 parent ccf847a commit 6c38472

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,6 @@ jobs:
1212
name: Test
1313
runs-on: ubuntu-latest
1414

15-
services:
16-
postgres:
17-
image: postgres:16-alpine
18-
env:
19-
POSTGRES_USER: postgres
20-
POSTGRES_PASSWORD: postgres
21-
POSTGRES_DB: portfolio_test
22-
ports:
23-
- 5432:5432
24-
options: >-
25-
--health-cmd pg_isready
26-
--health-interval 10s
27-
--health-timeout 5s
28-
--health-retries 5
29-
3015
steps:
3116
- name: Checkout code
3217
uses: actions/checkout@v4
@@ -72,10 +57,6 @@ jobs:
7257
run: mix test
7358
env:
7459
MIX_ENV: test
75-
POSTGRES_HOST: localhost
76-
POSTGRES_USER: postgres
77-
POSTGRES_PASSWORD: postgres
78-
POSTGRES_DB: portfolio_test
7960

8061
deploy:
8162
name: Deploy to Fly.io

fly.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ kill_signal = 'SIGTERM'
99

1010
[build]
1111

12-
[deploy]
13-
release_command = '/app/bin/migrate'
14-
1512
[env]
16-
PHX_HOST = 'portfolio.fly.dev'
13+
PHX_HOST = 'stephenloggedon.com'
1714
PORT = '8080'
1815

1916
[http_service]

0 commit comments

Comments
 (0)