-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e88892
commit 05656e2
Showing
3 changed files
with
21 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
KAVO_SECRETS=$(npx kavo files:decrypt .env.production -o | base64 --break 0) | ||
|
||
DATOCMS_API_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^DATOCMS_API_TOKEN=//p') | ||
FASTLY_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^FASTLY_KEY=//p') | ||
FASTLY_SERVICE_ID=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^FASTLY_SERVICE_ID=//p') | ||
MAILERLITE_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^MAILERLITE_TOKEN=//p') | ||
PIPEDRIVE_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^PIPEDRIVE_TOKEN=//p') | ||
RECAPTCHA_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^RECAPTCHA_KEY=//p') | ||
RECAPTCHA_SECRET_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^RECAPTCHA_SECRET_KEY=//p') | ||
ROLLBAR_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^ROLLBAR_TOKEN=//p') | ||
SECRET_API_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^SECRET_API_TOKEN=//p') | ||
SLACK_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^SLACK_TOKEN=//p') | ||
DATOCMS_API_TOKEN=$(npx kavo files:decrypt .env.production -e DATOCMS_API_TOKEN) | ||
FASTLY_KEY=$(npx kavo files:decrypt .env.production -e FASTLY_KEY) | ||
FASTLY_SERVICE_ID=$(npx kavo files:decrypt .env.production -e FASTLY_SERVICE_ID) | ||
MAILERLITE_TOKEN=$(npx kavo files:decrypt .env.production -e MAILERLITE_TOKEN) | ||
PIPEDRIVE_TOKEN=$(npx kavo files:decrypt .env.production -e PIPEDRIVE_TOKEN) | ||
RECAPTCHA_KEY=$(npx kavo files:decrypt .env.production -e RECAPTCHA_KEY) | ||
RECAPTCHA_SECRET_KEY=$(npx kavo files:decrypt .env.production -e RECAPTCHA_SECRET_KEY) | ||
ROLLBAR_TOKEN=$(npx kavo files:decrypt .env.production -e ROLLBAR_TOKEN) | ||
SECRET_API_TOKEN=$(npx kavo files:decrypt .env.production -e SECRET_API_TOKEN) | ||
SLACK_TOKEN=$(npx kavo files:decrypt .env.production -e SLACK_TOKEN) | ||
|
||
SECRETS=$(kamal secrets fetch --adapter bitwarden --account [email protected] GITHUB_CONTAINER_REGISTRY_API_TOKEN) | ||
GITHUB_CONTAINER_REGISTRY_API_TOKEN=$(kamal secrets extract GITHUB_CONTAINER_REGISTRY_API_TOKEN $SECRETS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
KAVO_SECRETS=$(npx kavo files:decrypt .env.staging -o | base64 --break 0) | ||
|
||
DATOCMS_API_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^DATOCMS_API_TOKEN=//p') | ||
FASTLY_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^FASTLY_KEY=//p') | ||
FASTLY_SERVICE_ID=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^FASTLY_SERVICE_ID=//p') | ||
MAILERLITE_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^MAILERLITE_TOKEN=//p') | ||
PIPEDRIVE_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^PIPEDRIVE_TOKEN=//p') | ||
RECAPTCHA_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^RECAPTCHA_KEY=//p') | ||
RECAPTCHA_SECRET_KEY=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^RECAPTCHA_SECRET_KEY=//p') | ||
ROLLBAR_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^ROLLBAR_TOKEN=//p') | ||
SECRET_API_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^SECRET_API_TOKEN=//p') | ||
SLACK_TOKEN=$(echo $KAVO_SECRETS | base64 --decode | sed -n 's/^SLACK_TOKEN=//p') | ||
DATOCMS_API_TOKEN=$(npx kavo files:decrypt .env.staging -e DATOCMS_API_TOKEN) | ||
FASTLY_KEY=$(npx kavo files:decrypt .env.staging -e FASTLY_KEY) | ||
FASTLY_SERVICE_ID=$(npx kavo files:decrypt .env.staging -e FASTLY_SERVICE_ID) | ||
MAILERLITE_TOKEN=$(npx kavo files:decrypt .env.staging -e MAILERLITE_TOKEN) | ||
PIPEDRIVE_TOKEN=$(npx kavo files:decrypt .env.staging -e PIPEDRIVE_TOKEN) | ||
RECAPTCHA_KEY=$(npx kavo files:decrypt .env.staging -e RECAPTCHA_KEY) | ||
RECAPTCHA_SECRET_KEY=$(npx kavo files:decrypt .env.staging -e RECAPTCHA_SECRET_KEY) | ||
ROLLBAR_TOKEN=$(npx kavo files:decrypt .env.staging -e ROLLBAR_TOKEN) | ||
SECRET_API_TOKEN=$(npx kavo files:decrypt .env.staging -e SECRET_API_TOKEN) | ||
SLACK_TOKEN=$(npx kavo files:decrypt .env.staging -e SLACK_TOKEN) | ||
|
||
SECRETS=$(kamal secrets fetch --adapter bitwarden --account [email protected] GITHUB_CONTAINER_REGISTRY_API_TOKEN) | ||
GITHUB_CONTAINER_REGISTRY_API_TOKEN=$(kamal secrets extract GITHUB_CONTAINER_REGISTRY_API_TOKEN $SECRETS) |