Skip to content

Commit 17727cb

Browse files
committed
hotfix: added RPC-secret to github workflow
1 parent 4aeac18 commit 17727cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/chicmoz-prod.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Print important information
2525
env:
26-
CHICMOZ_AZTEC_RPC: ${{ secrets.CHICMOZ_AZTEC_RPC }}
26+
CHICMOZ_AZTEC_RPC: ${{ env.CHICMOZ_AZTEC_RPC }}
2727
run: |
2828
echo "VERSION: $(git describe --tags)"
2929
echo "CHICMOZ_AZTEC_RPC: $CHICMOZ_AZTEC_RPC"
@@ -51,10 +51,14 @@ jobs:
5151
run: doctl kubernetes cluster kubeconfig save "chicmoz-prod"
5252

5353
- name: Deploy to cluster with Skaffold
54+
env:
55+
CHICMOZ_AZTEC_RPC: ${{ env.CHICMOZ_AZTEC_RPC }}
5456
run: |
5557
MAX_RETRIES=3
5658
RETRY_DELAY=10
5759
60+
kubectl create secret generic global --from-literal=CHICMOZ_AZTEC_RPC=$CHICMOZ_AZTEC_RPC
61+
5862
for i in $(seq 1 $MAX_RETRIES); do
5963
if bash -x scripts/production/deploy.sh; then
6064
echo "Deployment successful"

0 commit comments

Comments
 (0)