add better auth secret placeholder
This commit is contained in:
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
@@ -19,7 +19,6 @@ jobs:
|
|||||||
host: ${{ secrets.DEPLOY_HOST }}
|
host: ${{ secrets.DEPLOY_HOST }}
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
username: ${{ secrets.DEPLOY_USER }}
|
||||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
script_stop: true
|
|
||||||
script: |
|
script: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ FROM base AS build
|
|||||||
COPY --from=deps /app/node_modules node_modules
|
COPY --from=deps /app/node_modules node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
ENV BETTER_AUTH_SECRET=build-placeholder
|
||||||
RUN --mount=type=cache,target=/app/.svelte-kit bun run build
|
RUN --mount=type=cache,target=/app/.svelte-kit bun run build
|
||||||
|
|
||||||
# Runtime — prod deps only
|
# Runtime — prod deps only
|
||||||
|
|||||||
Reference in New Issue
Block a user