Skip to content

Commit

Permalink
Take truffle config from ENV variables
Browse files Browse the repository at this point in the history
  • Loading branch information
madis committed Oct 28, 2024
1 parent ba08591 commit 5ec1d70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Run ganache service
run: |
docker run --rm -d --name ganache -p 8550:8550 trufflesuite/ganache:v7.9.1 -v -m "easy leave proof verb wait patient fringe laptop intact opera slab shine" -p 8550 -b 0.5 --chain.allowUnlimitedContractSize=true
docker run --rm -d --name ganache -p 8550:8550 trufflesuite/ganache:v7.9.1 -v -m ${{vars.ETHLANCE_DEPLOY_SEED}} -p 8550 -b 0.5 --chain.allowUnlimitedContractSize=true
- name: Restore Top level cache directory for Ethlance
uses: actions/cache@v3
Expand Down Expand Up @@ -76,6 +76,8 @@ jobs:
cd ..
- name: Deploy contracts to ganache-test
env:
ETHLANCE_DEPLOY_SEED: ${{ vars.ETHLANCE_DEPLOY_SEED }}
run: |
npx truffle migrate --network ganache-test --reset
Expand Down

0 comments on commit 5ec1d70

Please sign in to comment.