chore: move env files to per-script env directory
This commit is contained in:
committed by
ForgeCode
parent
43968bc704
commit
1f507fdb38
+1
-1
@@ -1 +1 @@
|
||||
.env
|
||||
*.env
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Each script that needs to use the environment variables should have a env file with the same name as the script
|
||||
# For example, if you have a script called `train.sh`, you should create a file called `train.env`.
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
USER_ID="$1"
|
||||
|
||||
ENV_FILE="$HOME/Raycast/scripts/.env"
|
||||
ENV_FILE="$HOME/Raycast/envs/get_graph_user.env"
|
||||
if [[ ! -f "$ENV_FILE" ]]; then
|
||||
echo "❌ .env not found at $ENV_FILE"
|
||||
exit 1
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# @raycast.description Generate a meme via imgflip webhook and copy image to clipboard
|
||||
# @raycast.author Esteban Vincent
|
||||
|
||||
ENV_FILE="$HOME/Raycast/scripts/.env"
|
||||
ENV_FILE="$HOME/Raycast/envs/imgflip-meme.env"
|
||||
if [[ ! -f "$ENV_FILE" ]]; then
|
||||
echo "❌ .env not found at $ENV_FILE"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user