Skip to content

Commit

Permalink
chore: remove localhost echo (#38)
Browse files Browse the repository at this point in the history
* chore: removed echo for localhost

* chore: changed version in the readme
  • Loading branch information
GImbrailo authored Sep 16, 2022
1 parent 101d242 commit e44d5e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ When set to true, all tests in the `tests` directory will be run using the Jest
### Single step action
```yaml
- name: taqueria tasks
uses: ecadlabs/[email protected].0
uses: ecadlabs/[email protected].1
with:
plugins: '@taqueria/plugin-ligo, @taqueria/plugin-flextesa, @taqueria/plugin-taquito, @taqueria/plugin-jest'
compile_contracts: counter.jsligo
Expand All @@ -56,19 +56,19 @@ When set to true, all tests in the `tests` directory will be run using the Jest
### Multiple step action
```yaml
- name: compile contracts
uses: ecadlabs/[email protected].0
uses: ecadlabs/[email protected].1
with:
project_directory: 'example-projects/hello-tacos'
compile_contracts: 'hello-tacos.mligo'

- name: start local sandbox
uses: ecadlabs/[email protected].0
uses: ecadlabs/[email protected].1
with:
project_directory: 'example-projects/hello-tacos'
sandbox_name: 'local'

- name: deploy contracts
uses: ecadlabs/[email protected].0
uses: ecadlabs/[email protected].1
with:
project_directory: 'example-projects/hello-tacos'
deploy_contracts: hello-tacos.tz
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
echo "Set localhost to 172.17.0.1"
## Because of the docker-in-docker setup for the action we need to set 'localhost' to the host docker IP
echo "172.17.0.1 localhost" > /etc/hosts

if [ -z "$INPUT_PROJECT_DIRECTORY" ]; then
Expand Down

0 comments on commit e44d5e8

Please sign in to comment.