Skip to content

Commit

Permalink
Update deploy-alchemy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Nov 11, 2024
1 parent 7be6e9b commit 399de21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-alchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
AAVEGOTCHI_DIAMOND=$(node -e "console.log(require('./config/$NETWORK.json').contracts.diamond)")
echo "AAVEGOTCHI_DIAMOND=$AAVEGOTCHI_DIAMOND" >> $GITHUB_OUTPUT
- name: Replace environment variables
run: |
sed -i "s/{{AAVEGOTCHI_DIAMOND}}/${{ steps.export-vars.outputs.AAVEGOTCHI_DIAMOND }}/g" src/helper.ts
- name: Deploy to Alchemy
env:
SUBGRAPH_NAME: aavegotchi-svg-${{ steps.extract-network.outputs.NETWORK }}
AAVEGOTCHI_DIAMOND: ${{ steps.export-vars.outputs.AAVEGOTCHI_DIAMOND }}
run: |
npx graph deploy ${{ env.SUBGRAPH_NAME }} \
--deploy-key ${{ secrets.SATSUMA_ACCESS_TOKEN }} \
Expand Down

0 comments on commit 399de21

Please sign in to comment.