Skip to content

Commit

Permalink
troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
san-est committed Jun 14, 2024
1 parent 1b98004 commit c9bcde7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-hardhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ jobs:

- name: Running image container
run: |
docker run -d --name devnet -p 8545:8545 -v ${{ github.workspace }}/hardhat:/workspace/hardhat ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:9
echo "Workspace path: ${{ github.workspace }}/hardhat"
docker run -d --name devnet -p 8545:8545 \
-v ${{ github.workspace }}/hardhat:/workspace/hardhat \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:9
docker exec devnet ls /workspace/hardhat
docker exec devnet ls -l /workspace/hardhat
docker exec devnet ls -l /workspace
#steps were added so i can troublshoot if the folder is mounted properly
- name: Installing Node.js, npm and local hardhat so that hardhat sample can run
run: |
docker exec devnet apk add --no-cache nodejs npm
Expand Down

0 comments on commit c9bcde7

Please sign in to comment.