TECH-3629 - Changing chainlog's hostname #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches-ignore: | |
- main | |
- dev | |
name: Build and test containers | |
jobs: | |
deploy: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Start and test chainlog containers | |
id: start-containers | |
env: | |
INFURA_KEY: ${{ secrets.INFURA_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
working-directory: ./ | |
run: | | |
docker-compose up -d | |
sleep 10 | |
docker ps | grep chainlog-ui | |
docker ps | grep chainlog-logger || (docker logs chainlog-logger && exit 1) | |
curl -I localhost:8080 | |
docker logs chainlog-logger |