Skip to content

Commit 686d9b9

Browse files
committed
fix: restore release smoke validation
1 parent ac2244d commit 686d9b9

4 files changed

Lines changed: 12 additions & 18 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ jobs:
177177
timeout-minutes: 30
178178
environment:
179179
name: ${{ needs.resolve-context.outputs.github_environment }}
180-
outputs:
181-
app_base_url: ${{ steps.validate-config.outputs.app_base_url }}
182-
railway_environment: ${{ steps.validate-config.outputs.railway_environment }}
183180
env:
184181
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
185182
RAILWAY_PROJECT_ID: ${{ secrets.RAILWAY_PROJECT_ID }}
@@ -229,11 +226,6 @@ jobs:
229226
esac
230227
fi
231228
232-
{
233-
echo "app_base_url=${APP_BASE_URL:-}"
234-
echo "railway_environment=${RAILWAY_ENVIRONMENT}"
235-
} >> "${GITHUB_OUTPUT}"
236-
237229
- name: Checkout source
238230
uses: actions/checkout@v6
239231
with:
@@ -259,11 +251,13 @@ jobs:
259251
- deploy
260252
runs-on: ubuntu-latest
261253
timeout-minutes: 15
254+
environment:
255+
name: ${{ needs.resolve-context.outputs.github_environment }}
262256
env:
263257
DEPLOY_REF: ${{ needs.resolve-context.outputs.ref }}
264258
GITHUB_ENVIRONMENT_NAME: ${{ needs.resolve-context.outputs.github_environment }}
265-
RAILWAY_ENVIRONMENT: ${{ needs.deploy.outputs.railway_environment }}
266-
APP_BASE_URL: ${{ needs.deploy.outputs.app_base_url }}
259+
RAILWAY_ENVIRONMENT: ${{ secrets.RAILWAY_ENVIRONMENT || needs.resolve-context.outputs.railway_environment }}
260+
APP_BASE_URL: ${{ needs.resolve-context.outputs.requested_base_url != '' && needs.resolve-context.outputs.requested_base_url || secrets.RAILWAY_PUBLIC_URL }}
267261
SMOKE_REQUIRED: ${{ needs.resolve-context.outputs.smoke_required }}
268262

269263
steps:

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth-api",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Production-grade authentication API with session governance, refresh rotation, Prisma/PostgreSQL persistence, Redis rate limiting, and contract-driven documentation.",
55
"main": "dist/src/server.js",
66
"type": "commonjs",

src/contracts/authContract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const openApiSpec = {
141141
openapi: "3.0.3",
142142
info: {
143143
title: "Auth API",
144-
version: "1.1.1",
144+
version: "1.1.2",
145145
description:
146146
"Production-grade authentication API with first-class sessions, refresh-token rotation, and contract-driven documentation.",
147147
},

0 commit comments

Comments
 (0)