Skip to content

Commit

Permalink
Reduced global env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
danishkhan24 committed Aug 28, 2024
1 parent 4e12fb9 commit a4e37b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ on:
branches:
- master

env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

jobs:

build_and_push:
runs-on: ubuntu-latest

env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit a4e37b3

Please sign in to comment.