Skip to content

Commit

Permalink
Update CI-CD-Squid-Explorer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfilyanin authored Jul 30, 2024
1 parent 8a98fec commit ee2773c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/CI-CD-Squid-Explorer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Deploy new squid and indexer to k8s'
name: 'Deploy new squid and indexer'

on:
push:
Expand Down Expand Up @@ -47,6 +47,7 @@ jobs:
echo "tag=prod" >> $GITHUB_ENV
else
echo "tag=qa" >> $GITHUB_ENV
fi
- name: Build and push Data Storage Docker image
uses: docker/build-push-action@master
Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
echo "tag=prod" >> $GITHUB_ENV
else
echo "tag=qa" >> $GITHUB_ENV
fi
- name: Build and push Api Gateway Docker image
uses: docker/build-push-action@master
Expand Down Expand Up @@ -106,10 +108,11 @@ jobs:
run: |
if [ "${{ github.ref }}" == "refs/heads/idea-release" ]; then
echo "namespace=prod-idea" >> $GITHUB_ENV
echo "deployments=explorer-testnet squid-testnet explorer-mainnet squid-mainnet" >> $GITHUB_ENV
echo "deployments=explorer squid-testnet squid-mainnet" >> $GITHUB_ENV
else
echo "namespace=dev-1" >> $GITHUB_ENV
echo "deployments=explorer-testnet squid-testnet" >> $GITHUB_ENV
echo "deployments=explorer squid-testnet" >> $GITHUB_ENV
fi
- name: Deploy to k8s
uses: sergeyfilyanin/kubectl-aws-eks@master
Expand Down

0 comments on commit ee2773c

Please sign in to comment.