From 7eb61696eba6c5f6e831051d18ef2c5abfbc7ac3 Mon Sep 17 00:00:00 2001 From: Ruslan Gladov Date: Fri, 14 Jun 2024 11:50:49 +0300 Subject: [PATCH] Adding workdir to hardhat --- .github/workflows/ci_deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_deploy.yaml b/.github/workflows/ci_deploy.yaml index 81410f7a28..8e3ba2afcc 100644 --- a/.github/workflows/ci_deploy.yaml +++ b/.github/workflows/ci_deploy.yaml @@ -39,8 +39,9 @@ jobs: docker-compose up -d - name: Deploy contracts - working-directory: go-ethereum/hardhat - run: npx hardhat run scripts/deploy.js --network localhost + run: | + cd /Users/ruslangladov/PycharmProjects/DevOps_LC/go-ethereum/hardhat/ + npx hardhat run scripts/deploy.js --network localhost - name: Build and push Docker image uses: docker/build-push-action@v5