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

View File

@@ -32,8 +32,8 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases:
preBuild:
commands:
- sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
- sudo yum install infisical
- sudo curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.rpm.sh' | sudo -E bash
- sudo yum install infisical
```
</Step>
<Step title="Modify the build command">
@@ -44,9 +44,9 @@ This approach enables you to fetch secrets from Infisical during Amplify build t
phases:
build:
commands:
- INFISICAL_TOKEN=${INFISICAL_TOKEN}
- infisical export --format=dotenv > .env
- <rest of the commands>
- INFISICAL_TOKEN=${INFISICAL_TOKEN}
- infisical export --format=dotenv > .env
- <rest of the commands>
```
</Step>
</Steps>