Skip to content

Commit

Permalink
Only download the context when contracts are deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Apr 10, 2024
1 parent d454da7 commit cb8d414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Deploy the contracts + app
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
DEPLOY_CONTRACTS: 'no'
on:
push:
branches: [deploy-contracts-and-app]
Expand All @@ -20,8 +21,8 @@ concurrency:

jobs:
deploy-contracts:
if: false
name: Deploy contracts to the Liquity v2 Testnet
if: ${{ env.DEPLOY_CONTRACTS != 'no' }}
runs-on: ubuntu-latest
steps:
- name: Git checkout
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
run: pnpm install --global vercel@canary

- name: Download deployment context
if: ${{ env.DEPLOY_CONTRACTS != 'no' }}
uses: actions/download-artifact@v4
with:
name: deployment-context
Expand Down

0 comments on commit cb8d414

Please sign in to comment.