Skip to content

Commit

Permalink
add doppler script
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed May 26, 2024
1 parent 2acb233 commit 09f9196
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/doppler
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#!/bin/sh

export DOPPLER_TOKEN="${DOPPLER_TOKEN_MY_PERSONAL:-$DOPPLER_TOKEN}"

if [ -z "$DOPPLER_TOKEN" ]; then
echo "DOPPLER_TOKEN is not set"
exit 1
fi

if ! command -v doppler >/dev/null 2>&1; then
echo "doppler CLI could not be found"
exit 1
fi

DOPPLER_PROJECT=tahsin-us-next
DOPPLER_CONFIG=prd

Expand Down

0 comments on commit 09f9196

Please sign in to comment.