Skip to content

Commit

Permalink
feat: add ci env
Browse files Browse the repository at this point in the history
  • Loading branch information
omargawdat committed Feb 21, 2025
1 parent 2abdd0c commit a2beb69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
branches: [ 'master', 'main' ]
paths-ignore: [ 'docs/**' ]

env:
AWS_SECRETS_REGION: ${{ secrets.AWS_SECRETS_REGION }}
AWS_SECRET_ID: ${{ secrets.AWS_SECRET_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ services:
POSTGRES_DB: 'mydatabase'
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres_password' # pragma: allowlist secret
AWS_SECRETS_REGION: 'eu-central-1' # pragma: allowlist secret
AWS_SECRET_ID: 'dev/weem'
AWS_ACCESS_KEY_ID: ''
AWS_SECRET_ACCESS_KEY: ''
AWS_SECRETS_REGION: ${AWS_SECRETS_REGION}
AWS_SECRET_ID: ${AWS_SECRET_ID}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}


postgres:
Expand Down

0 comments on commit a2beb69

Please sign in to comment.