Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add keycloak secret to CI #8

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ jobs:
/sst/kma-score-serverless/prod/Secret/DB_NAME/value=DB_NAME,
/sst/kma-score-serverless/prod/Secret/DB_PASSWORD/value=DB_PASSWORD,
/sst/kma-score-serverless/prod/Secret/DB_PORT/value=DB_PORT,
/sst/kma-score-serverless/prod/Secret/DB_USERNAME/value=DB_USERNAME"
/sst/kma-score-serverless/prod/Secret/DB_USERNAME/value=DB_USERNAME
/sst/kma-score-serverless/prod/Secret/KC_URL/value=KC_URL
/sst/kma-score-serverless/prod/Secret/KC_REALM/value=KC_REALM
/sst/kma-score-serverless/prod/Secret/KC_CLIENT_ID/value=KC_CLIENT_ID
/sst/kma-score-serverless/prod/Secret/KC_CLIENT_SECRET/value=KC_CLIENT_SECRET"
withDecryption: "true"

- name: Setup Node.js
Expand All @@ -44,20 +48,20 @@ jobs:
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm i --frozen-lockfile

Expand Down