Skip to content

Commit dcab4ba

Browse files
fix: fix oidc url (#525)
1 parent 49fd818 commit dcab4ba

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,7 @@ jobs:
6363
# https://nextjs.org/docs/app/building-your-application/configuring/environment-variables#bundling-environment-variables-for-the-browser
6464
-
6565
name: Generate NEXT_PUBLIC_OIDC_SERVER_URL
66-
run: |
67-
if [ "${{ github.event_name }}" == "push" ]; then
68-
echo "NEXT_PUBLIC_OIDC_SERVER_URL=https://${{ steps.set-github-outputs.outputs.url }}/" >> $GITHUB_ENV
69-
else
70-
echo "NEXT_PUBLIC_OIDC_SERVER_URL=https://${{ steps.set-github-outputs.outputs.url }}/oidc/realms/demo/" >> $GITHUB_ENV
71-
fi
66+
run: echo "NEXT_PUBLIC_OIDC_SERVER_URL=https://${{ steps.set-github-outputs.outputs.url }}/oidc/realms/demo" >> $GITHUB_ENV
7267
-
7368
name: Build Docker images
7469
uses: docker/bake-action@v6

0 commit comments

Comments
 (0)