Skip to content

Commit

Permalink
deploy: Read GitHub client id and secret from env
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-orciuolo committed Feb 13, 2024
1 parent ad8fff1 commit 0c204e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions IT/codekatabattle-frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:18-alpine
WORKDIR /app

COPY package.json .

RUN npm install

COPY . .

RUN npm run build

EXPOSE 5173
CMD [ "npm", "run", "preview" ]
4 changes: 2 additions & 2 deletions IT/codekatabattle/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
github.api.version=2022-11-28
github.swagger.client-id=d65691ca61e893487d6b
github.swagger.client-secret=933446e8338a421d40a1abcf713727859324ddbd
github.frontend.client-id=0009d4a156ae3816fb0d
github.frontend.client-secret=d46e8b6fd4579f009335f1db8f164ded589b4e4a
github.frontend.client-id=${GITHUB_CLIENT_ID:0009d4a156ae3816fb0d}
github.frontend.client-secret=${GITHUB_CLIENT_SECRET:d46e8b6fd4579f009335f1db8f164ded589b4e4a}

ckb.test=false
ckb.github.pat=${CKB_GITHUB_PAT}
Expand Down

0 comments on commit 0c204e9

Please sign in to comment.