mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 15:27:27 +00:00
Update aws-amplify.mdx
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user