Skip to content

Commit

Permalink
Merge pull request #1296 from AletheiaFact/quick-fix-placed-zenvia-va…
Browse files Browse the repository at this point in the history
…riables-before-env

Quick Fix: Replaced Zenvia Variables Before ENV
  • Loading branch information
thesocialdev authored Jul 25, 2024
2 parents f0007fb + d9e7d89 commit cc470df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
env:
RECAPTCHA_SECRET: ${{ secrets.RECAPTCHA_SECRETKEY }}
run: |
sed -i "s%ZENVIA_API_URL%$ZENVIA_API_URL%g" config.$ENVIRONMENT.yaml
sed -i "s%ZENVIA_API_TOKEN%$ZENVIA_API_TOKEN%g" config.$ENVIRONMENT.yaml
sed -i "s/ENV/$ENVIRONMENT/g" config.$ENVIRONMENT.yaml
sed -i "s%RECAPTCHA_SECRET%$RECAPTCHA_SECRET%g" config.$ENVIRONMENT.yaml
sed -i "s%MONGODB_URI%$MONGODB_URI%g" config.$ENVIRONMENT.yaml
Expand All @@ -107,8 +109,6 @@ jobs:
sed -i "s%NOVU_APPLICATION_IDENTIFIER%$NOVU_APPLICATION_IDENTIFIER%g" config.$ENVIRONMENT.yaml
sed -i "s%AGENTS_API_URL%$AGENTS_API_URL%g" config.$ENVIRONMENT.yaml
sed -i "s%OPENAI_API_KEY%$OPENAI_API_KEY%g" config.$ENVIRONMENT.yaml
sed -i "s%ZENVIA_API_URL%$ZENVIA_API_URL%g" config.$ENVIRONMENT.yaml
sed -i "s%ZENVIA_API_TOKEN%$ZENVIA_API_TOKEN%g" config.$ENVIRONMENT.yaml
- name: Set migrate-mongo-config.ts
run: |
Expand Down

0 comments on commit cc470df

Please sign in to comment.