Update docker-deploy.yml

This commit is contained in:
Denislav Mladenov 2024-07-23 20:30:47 +03:00 committed by GitHub
parent a1751490c0
commit fc7585e4bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,13 +68,14 @@ jobs:
- name: Checking the hardhat version to verify that its working properly - name: Checking the hardhat version to verify that its working properly
run: docker exec go-ethereum npx hardhat --version run: docker exec go-ethereum npx hardhat --version
- name: Check the path to the hardhat folder
run: docker run --rm go-ethereum sh -c "find / -type d -name 'hardhat'"
- name: Deploy hardhat sample project - name: Deploy hardhat sample project
run: | run: docker exec go-ethereum sh -c "cd /workspace/hardhat && yes | npx hardhat ignition deploy ./ignition/modules/Token.js --network devnet"
docker exec go-ethereum sh -c "cd /workspace/hardhat && yes | npx hardhat ignition deploy ./ignition/modules/Token.js --network devnet"
- name: Testing contracts - name: Testing contracts
run: | run: docker exec go-ethereum sh -c "cd /workspace/hardhat && npx hardhat test"
docker exec go-ethereum sh -c "cd /workspace/hardhat && npx hardhat test"
- name: Build a new docker image - name: Build a new docker image
run: | run: |