From 0502c350991445cc1d454758edd5619a405ec9a1 Mon Sep 17 00:00:00 2001 From: solimander Date: Fri, 1 Dec 2023 08:39:51 -0700 Subject: [PATCH] Remove the unused 'build and deploy' job --- .github/workflows/contract-deployment.yaml | 37 ---------------------- 1 file changed, 37 deletions(-) diff --git a/.github/workflows/contract-deployment.yaml b/.github/workflows/contract-deployment.yaml index 590b8f5f0b..ae92878d2e 100644 --- a/.github/workflows/contract-deployment.yaml +++ b/.github/workflows/contract-deployment.yaml @@ -26,40 +26,3 @@ jobs: - name: Uninstall Yarn if: always() run: npm uninstall -g yarn - build_and_deploy: - name: Build and Deploy - needs: build_and_test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 - with: - node-version: 16.x - - name: Install Yarn - run: npm install -g yarn - - run: yarn - - run: yarn build - - name: Deploy contract to Rinkeby - env: - INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }} - MNEMONIC: ${{ secrets.MNEMONIC }} - run: | - cd packages/nouns-contracts - npx hardhat deploy-ci --network rinkeby - - name: Verify contract on Etherscan - env: - INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }} - ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} - run: | - cd packages/nouns-contracts - echo "Giving Etherscan time to index" - sleep 60 # This could be replaced by polling etherscan on that address, wait for non-404 - npx hardhat verify --network rinkeby `cat logs/deploy.json| jq -r '.contractAddress'` - - name: Look here for contract info - run: | - cd packages/nouns-contracts - echo "Contract deployed on Rinkeby to `cat logs/deploy.json| jq -r '.contractAddress'`" - - name: Uninstall Yarn - if: always() - run: npm uninstall -g yarn