Skip to content

Commit

Permalink
fixed scrumlr public url env var
Browse files Browse the repository at this point in the history
Signed-off-by: Lennart Krauch <[email protected]>
  • Loading branch information
Lennart01 committed Jan 24, 2024
1 parent e93e17c commit e7cfcf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ jobs:
labels: ${{ steps.meta-landing-page.outputs.labels }}
build-args: |
DIRECTUS_URL=${{ secrets.DIRECTUS_URL }}
DIRECTUS_TOKEN=${{ secrets.DIRECTUS_TOKEN }}
DIRECTUS_TOKEN=${{ secrets.DIRECTUS_TOKEN }}
PUBLIC_SCRUMLR_SERVER_URL="https://development.scrumlr.fra.ics.inovex.io/api"
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ FROM node:18 AS build
WORKDIR /app
ARG DIRECTUS_URL
ARG DIRECTUS_TOKEN
ARG PUBLIC_SCRUMLR_SERVER_URL
COPY package*.json ./
RUN npm install -g pnpm
RUN pnpm install
COPY . .
RUN echo "DIRECTUS_URL = ${DIRECTUS_URL}" >> .env
RUN echo "DIRECTUS_TOKEN = ${DIRECTUS_TOKEN}" >> .env
RUN echo "PUBLIC_SCRUMLR_SERVER_URL" = ${PUBLIC_SCRUMLR_SERVER_URL} >> .env
RUN pnpm run build
RUN rm -rf .env

Expand Down

0 comments on commit e7cfcf6

Please sign in to comment.