Skip to content

Commit

Permalink
Try adding Github secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav committed Aug 1, 2024
1 parent e23fcd1 commit efb0316
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@ jobs:
context: .
push: true
tags: ghcr.io/${{ github.actor }}/qna-admin:latest
secrets: |
"OPENAI_KEY=${{ secrets.OPENAI_KEY }}"
"DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}"
"DISCORD_CLIENT_PUBLIC_KEY=${{ secrets.DISCORD_CLIENT_PUBLIC_KEY }}"
"DISCORD_GUILD_ID=${{ secrets.DISCORD_GUILD_ID }}"
"DISCORD_MODERATION_ACCESS_ROLES=${{ secrets.DISCORD_MODERATION_ACCESS_ROLES }}"
"REVIEW_CHANNEL_ID=${{ secrets.REVIEW_CHANNEL_ID }}"
"DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }}"
"EDGEDB_SECRET_KEY=${{ secrets.EDGEDB_SECRET_KEY }}"
"EDGEDB_INSTANCE=${{ secrets.EDGEDB_INSTANCE }}"
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ FROM base AS runner
WORKDIR /app

ENV NODE_ENV production
ENV BASE_URL https://localhost:3000

# Uncomment the following line in case you want to disable telemetry during runtime.
# ENV NEXT_TELEMETRY_DISABLED 1

Expand Down

0 comments on commit efb0316

Please sign in to comment.