Skip to content

Commit 58c8304

Browse files
committed
fix(cicd): testing wokflow with splited docker compose
1 parent ccc8393 commit 58c8304

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ jobs:
5858
filters: |
5959
ngnix:
6060
- '**/*
61-
- name: Lint Markdown
62-
if: ${{ steps.filter.outputs.nginx == 'true' }}
61+
- name: Deploy Nginx
6362
run: |
6463
sudo docker compose build -f docker-compose.yaml --no-cache --log-level 0
6564
sudo docker compose down

docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ services:
1717

1818
volumes:
1919
builder_nginx_vol:
20-
external: true

src/config/env.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { z } from 'zod'
44
const __env = createEnv({
55
server: {
66
NODE_ENV: z.enum(['production', 'development']),
7-
DEPLOY_STAGE: z.enum(['production', 'development', 'test']),
8-
PORT: z.string(),
97
},
108

119
client: {
@@ -24,8 +22,6 @@ const __env = createEnv({
2422

2523
runtimeEnv: {
2624
NODE_ENV: process.env.NODE_ENV,
27-
DEPLOY_STAGE: process.env.DEPLOY_STAGE,
28-
PORT: process.env.PORT,
2925
NEXT_PUBLIC_GA_SRC: process.env.NEXT_PUBLIC_GA_SRC,
3026
NEXT_PUBLIC_GA_TAG_ID: process.env.NEXT_PUBLIC_GA_TAG_ID,
3127
NEXT_PUBLIC_DATADOG_CLIENT_TOKEN:

0 commit comments

Comments
 (0)