Skip to content

Commit

Permalink
Remove deployment from the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Apr 10, 2024
1 parent 728570f commit 81e6f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,41 +45,6 @@ jobs:
forge test -vvv
id: test

deploy:
if: false
name: Deploy contracts to Liquity v2 Testnet
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install pnpm
uses: pnpm/action-setup@v3.0.0
with:
version: 8

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
cache-dependency-path: 'contracts/pnpm-lock.yaml'

- name: Install dependencies
run: pnpm install

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run deployment tool
run: ./deploy liquity-testnet --verify
env:
DEPLOYER: ${{ secrets.DEPLOYER }}

console-logs:
name: Check we didn’t forget to remove console imports
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:

jobs:
deploy-contracts:
if: false
name: Deploy contracts to the Liquity v2 Testnet
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:

- name: Build Project Artifacts
run: |
cat ./deployment-context-latest.json | pn tsx contracts/utils/deployment-artifacts-to-next-env.ts > ./frontend/.env.local
test -f ./deployment-context-latest.json && cat ./deployment-context-latest.json | pn tsx contracts/utils/deployment-artifacts-to-next-env.ts > ./frontend/.env.local
vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
Expand Down

0 comments on commit 81e6f38

Please sign in to comment.