Update aws-amplify.mdx

This commit is contained in:
Maidul Islam
2024-04-16 11:31:18 -04:00
committed by GitHub
parent d8d6d7dc1b
commit 519f0025c0
+5 -5
View File
@@ -32,8 +32,8 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases: phases:
preBuild: preBuild:
commands: commands:
- sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash - sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
- sudo yum install infisical - sudo yum install infisical
``` ```
</Step> </Step>
<Step title="Modify the build command"> <Step title="Modify the build command">
@@ -44,9 +44,9 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases: phases:
build: build:
commands: commands:
- INFISICAL_TOKEN=${INFISICAL_TOKEN} - INFISICAL_TOKEN=${INFISICAL_TOKEN}
- infisical export --format=dotenv > .env - infisical export --format=dotenv > .env
- <rest of the commands> - <rest of the commands>
``` ```
</Step> </Step>
</Steps> </Steps>