Skip to content

Commit

Permalink
Generate Public/Private Keys for JWT auth functionality during deploy…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
ahmadSaeedGoda committed Mar 22, 2024
1 parent 1299d51 commit 3b7a147
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/render-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
cd ./src/services/auth && docker build -t ahmadsaeedgoda/ld_rr:render-auth-service -f Dockerfile.staging.uat .
docker push ahmadsaeedgoda/ld_rr:render-auth-service
- name: Generate Public/Private Keys for JWT auth functionality
run: |
mkdir certs
openssl genrsa -out ./certs/private.pem
openssl rsa -in ./certs/private.pem -pubout -out ./certs/public.pem
- name: Trigger Render Deploy Hook
run: |
curl -X POST ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
Expand Down

0 comments on commit 3b7a147

Please sign in to comment.