Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
deploy:
name: Deploy to Production EC2
runs-on: ubuntu-latest
environment: production
env:
AWS_REGION: ${{ vars.AWS_REGION || secrets.AWS_REGION }}
EC2_SECURITY_GROUP_ID: ${{ vars.EC2_SECURITY_GROUP_ID || secrets.EC2_SECURITY_GROUP_ID }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Required repository variables (or secrets) for this automation:
- `AWS_REGION`
- `EC2_SECURITY_GROUP_ID`

If these are configured as **environment-level** variables/secrets, set them in the `production` environment (the deploy job targets `environment: production`).

## 🔑 One-Time SSL Certificate Issuance (Let's Encrypt)

Before issuing the certificate, ensure DNS A-Record for **`fileshare.sanketrajput.live`** points directly to your EC2 Elastic IP address.
Expand Down
Loading