attempt 2
This commit is contained in:
parent
d85bcae11e
commit
8f1dfad88a
2 changed files with 7 additions and 7 deletions
12
.github/workflows/app.yml
vendored
12
.github/workflows/app.yml
vendored
|
@ -6,12 +6,12 @@ on:
|
|||
- infrastructure/**
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- infrastructure/**
|
||||
types: [opened, synchronize, reopened, closed]
|
||||
branches:
|
||||
- main
|
||||
# pull_request:
|
||||
# paths-ignore:
|
||||
# - infrastructure/**
|
||||
# types: [opened, synchronize, reopened, closed]
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
env:
|
||||
IMAGE_NAME: calque-app
|
||||
|
|
|
@ -9,7 +9,7 @@ RUN cd /temp/dev && bun install --frozen-lockfile
|
|||
RUN mkdir -p /temp/prod
|
||||
COPY package.json bun.lockb /temp/prod/
|
||||
RUN cd /temp/prod && bun install --frozen-lockfile --production
|
||||
RUN echo "SESSION_SECRET=$(openssl rand -base64 15)" > .env
|
||||
RUN echo "SESSION_SECRET=$(head -c 12 /dev/random | base64)" > .env
|
||||
|
||||
FROM base AS prerelease
|
||||
COPY --from=install /temp/dev/node_modules node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue