Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ jobs:
timeout-minutes: 30
environment:
name: ${{ needs.resolve-context.outputs.github_environment }}
outputs:
app_base_url: ${{ steps.validate-config.outputs.app_base_url }}
railway_environment: ${{ steps.validate-config.outputs.railway_environment }}
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
RAILWAY_PROJECT_ID: ${{ secrets.RAILWAY_PROJECT_ID }}
Expand Down Expand Up @@ -229,11 +226,6 @@ jobs:
esac
fi

{
echo "app_base_url=${APP_BASE_URL:-}"
echo "railway_environment=${RAILWAY_ENVIRONMENT}"
} >> "${GITHUB_OUTPUT}"

- name: Checkout source
uses: actions/checkout@v6
with:
Expand All @@ -259,11 +251,13 @@ jobs:
- deploy
runs-on: ubuntu-latest
timeout-minutes: 15
environment:
name: ${{ needs.resolve-context.outputs.github_environment }}
env:
DEPLOY_REF: ${{ needs.resolve-context.outputs.ref }}
GITHUB_ENVIRONMENT_NAME: ${{ needs.resolve-context.outputs.github_environment }}
RAILWAY_ENVIRONMENT: ${{ needs.deploy.outputs.railway_environment }}
APP_BASE_URL: ${{ needs.deploy.outputs.app_base_url }}
RAILWAY_ENVIRONMENT: ${{ secrets.RAILWAY_ENVIRONMENT || needs.resolve-context.outputs.railway_environment }}
APP_BASE_URL: ${{ needs.resolve-context.outputs.requested_base_url != '' && needs.resolve-context.outputs.requested_base_url || secrets.RAILWAY_PUBLIC_URL }}
SMOKE_REQUIRED: ${{ needs.resolve-context.outputs.smoke_required }}

steps:
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-api",
"version": "1.1.1",
"version": "1.1.2",
"description": "Production-grade authentication API with session governance, refresh rotation, Prisma/PostgreSQL persistence, Redis rate limiting, and contract-driven documentation.",
"main": "dist/src/server.js",
"type": "commonjs",
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/authContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const openApiSpec = {
openapi: "3.0.3",
info: {
title: "Auth API",
version: "1.1.1",
version: "1.1.2",
description:
"Production-grade authentication API with first-class sessions, refresh-token rotation, and contract-driven documentation.",
},
Expand Down
Loading