mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 08:24:11 -06:00
refactor: move R2 credentials from env vars to chezmoi templates
This commit is contained in:
+4
-4
@@ -72,10 +72,10 @@ const REQUIRED_ENV = [
|
||||
"R2_BUCKET",
|
||||
];
|
||||
const ENV = {
|
||||
endpoint: process.env.R2_ENDPOINT || "",
|
||||
accessKeyId: process.env.R2_ACCESS_KEY_ID || "",
|
||||
secretAccessKey: process.env.R2_SECRET_ACCESS_KEY || "",
|
||||
bucket: process.env.R2_BUCKET || "",
|
||||
endpoint: "{{ dopplerProjectJson.R2_ENDPOINT }}",
|
||||
accessKeyId: "{{ dopplerProjectJson.R2_ACCESS_KEY_ID }}",
|
||||
secretAccessKey: "{{ dopplerProjectJson.R2_SECRET_ACCESS_KEY }}",
|
||||
bucket: "{{ dopplerProjectJson.R2_BUCKET }}",
|
||||
};
|
||||
|
||||
const TIMING = {
|
||||
Reference in New Issue
Block a user