Skip to content

Commit

Permalink
fix(ci): Add AUTH_SECRET to production workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Feb 4, 2025
1 parent 26e4b77 commit 0160867
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
KEY: ${{ secrets.SSH_EC2_KEY }}
HOSTNAME: ${{ secrets.SSH_EC2_HOSTNAME }}
USER: ${{ secrets.SSH_EC2_USER }}
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
AUTH_KEYCLOAK_ID: ${{ secrets.AUTH_KEYCLOAK_ID }}
AUTH_KEYCLOAK_SECRET: ${{ secrets.AUTH_KEYCLOAK_SECRET }}
AUTH_KEYCLOAK_ISSUER: ${{ secrets.AUTH_KEYCLOAK_ISSUER }}
Expand All @@ -109,6 +110,7 @@ jobs:
cd ~/website
aws s3 cp s3://${{ secrets.AWS_S3_BUCKET }}/website/csclub-website.tar.gz .
aws s3 cp s3://${{ secrets.AWS_S3_BUCKET }}/website/docker-compose.yml .
echo AUTH_SECRET=${{ secrets.AUTH_SECRET }} > .env.local
echo AUTH_KEYCLOAK_ID=${{ secrets.AUTH_KEYCLOAK_ID }} > .env.local
echo AUTH_KEYCLOAK_SECRET=${{ secrets.AUTH_KEYCLOAK_SECRET }} >> .env.local
echo AUTH_KEYCLOAK_ISSUER=${{ secrets.AUTH_KEYCLOAK_ISSUER }} >> .env.local
Expand Down

0 comments on commit 0160867

Please sign in to comment.