Adding workdir to hardhat

This commit is contained in:
Ruslan Gladov 2024-06-14 11:50:49 +03:00
parent 2ec0014091
commit 7eb61696eb

View file

@ -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