Skip to content

Commit

Permalink
add sepolia deploy configs for magicswap
Browse files Browse the repository at this point in the history
  • Loading branch information
alecananian committed Nov 19, 2024
1 parent 740f359 commit 18f60d3
Show file tree
Hide file tree
Showing 7 changed files with 1,355 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Generate code for DEV (Topaz)
if: inputs.environment == 'Development (Topaz)'
run: npm run generate:dev-topaz --if-present
- name: Generate code for DEV (Sepolia)
if: inputs.environment == 'Development (Sepolia)'
run: npm run generate:dev-sepolia --if-present
- name: Generate code for PROD
if: inputs.environment == 'Production'
run: npm run generate:prod --if-present
Expand All @@ -55,6 +58,9 @@ jobs:
- name: Deploy to DEV (Topaz)
if: inputs.environment == 'Development (Topaz)'
run: npx goldsky subgraph deploy ${{ inputs.subgraph }}-dev-topaz/${{ inputs.version }} --token ${{ secrets.GOLDSKY_DEPLOY_KEY }}
- name: Deploy to DEV (Sepolia)
if: inputs.environment == 'Development (Sepolia)'
run: npx goldsky subgraph deploy ${{ inputs.subgraph }}-dev-sepolia/${{ inputs.version }} --token ${{ secrets.GOLDSKY_DEPLOY_KEY }}
- name: Deploy to PROD
if: inputs.environment == 'Production'
run: npx goldsky subgraph deploy ${{ inputs.subgraph }}/${{ inputs.version }} --token ${{ secrets.GOLDSKY_DEPLOY_KEY }}
Loading

0 comments on commit 18f60d3

Please sign in to comment.