We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61e1424 commit e6f2efeCopy full SHA for e6f2efe
.github/workflows/fetch-data.yml
@@ -8,6 +8,9 @@ on:
8
jobs:
9
fetch-data:
10
runs-on: ubuntu-latest
11
+ env:
12
+ INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
13
+ ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
14
steps:
15
- uses: actions/checkout@v4
16
- uses: oven-sh/setup-bun@v1
script/main.sh
@@ -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
+
17
+# Log "alchemy exists"
18
+if [ -n "${ALCHEMY_API_KEY:-}" ]; then
19
+ echo "ALCHEMY_API_KEY exists"
20
21
+ echo "ALCHEMY_API_KEY does not exist"
22
23
24
# Function to handle final preparation steps.
25
final_preparation() {
26
local exitStatus=$?
0 commit comments