Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/fetch-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
fetch-data:
runs-on: ubuntu-latest
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
Expand Down
13 changes: 13 additions & 0 deletions script/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ if [ -f "$repoRoot/.env" ]; then
source "$repoRoot/.env"
fi

if [ -n "${INFURA_API_KEY:-}" ]; then
echo "INFURA_API_KEY exists"
else
echo "INFURA_API_KEY does not exist"
fi

# Log "alchemy exists"
if [ -n "${ALCHEMY_API_KEY:-}" ]; then
echo "ALCHEMY_API_KEY exists"
else
echo "ALCHEMY_API_KEY does not exist"
fi

# Function to handle final preparation steps.
final_preparation() {
local exitStatus=$?
Expand Down