Skip to content

Commit

Permalink
Merge pull request #106 from centrifuge/fix-celo
Browse files Browse the repository at this point in the history
fix: add celo, disable base
  • Loading branch information
hieronx authored Feb 6, 2024
2 parents 9a96119 + 8e0c857 commit f7c3a12
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
run: 'yq ". *=d load(\"chains-cfg/$CHAIN_ID.yaml\")" chains-cfg/_root.yaml > project-centrifuge.yaml || true'
- name: Generate new project-ethereum.yaml
run: '[ -e chains-evm/eth/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/eth/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-ethereum.yaml || true'
- name: Generate new project-base.yaml
run: '[ -e chains-evm/base/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/base/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-base.yaml || true'
# - name: Generate new project-base.yaml
# run: '[ -e chains-evm/base/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/base/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-base.yaml || true'
- name: Generate new project-celo.yaml
run: '[ -e chains-evm/celo/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/celo/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-celo.yaml || true'
- name: Extract Chain Parameters to ENV
run: |
echo "SUBQL_PROJ_NAME=$(yq '.name' project-centrifuge.yaml)" >> $GITHUB_ENV
Expand All @@ -70,8 +72,8 @@ jobs:
echo "SUBQL_CFG_DICT=$(yq '.network.dictionary' project-centrifuge.yaml)" >> $GITHUB_ENV
echo "SUBQL_ETH_ENDPOINT=$(yq '.network.endpoint' project-ethereum.yaml)" >> $GITHUB_ENV
echo "SUBQL_ETH_DICT=$(yq '.network.dictionary' project-ethereum.yaml)" >> $GITHUB_ENV
echo "SUBQL_BASE_ENDPOINT=$(yq '.network.endpoint' project-base.yaml)" >> $GITHUB_ENV
echo "SUBQL_BASE_DICT=$(yq '.network.dictionary' project-base.yaml)" >> $GITHUB_ENV
echo "SUBQL_CELO_ENDPOINT=$(yq '.network.endpoint' project-celo.yaml)" >> $GITHUB_ENV
echo "SUBQL_CELO_DICT=$(yq '.network.dictionary' project-celo.yaml)" >> $GITHUB_ENV
- name: Generate new subquery-multichain.yaml
run: |
cat > subquery-multichain.yaml <<'EOF'
Expand All @@ -87,7 +89,7 @@ jobs:
npx subql publish -o -f .
echo "CFG_IPFSCID=$(cat .project-centrifuge-cid)" >> $GITHUB_ENV || true
echo "ETH_IPFSCID=$(cat .project-ethereum-cid)" >> $GITHUB_ENV || true
echo "BASE_IPFSCID=$(cat .project-base-cid)" >> $GITHUB_ENV || true
echo "CELO_IPFSCID=$(cat .project-celo-cid)" >> $GITHUB_ENV || true
- name: Delete Project
if: ${{ inputs.resetProject }}
run: |
Expand Down

0 comments on commit f7c3a12

Please sign in to comment.