Merge pull request #15 from yeti-platform/sebdraven-patch-2 #50
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
name: Docker prod test | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * 6" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Pull docker images from DockerHub | |
run: docker compose -f prod/docker-compose.yaml up -d | |
- name: Sleep for 1 minute | |
run: sleep 60 | |
- name: Test access to the web UI | |
run: curl http://localhost:8000/api/v2/observables/ |