Skip to content

Commit

Permalink
docker logs added
Browse files Browse the repository at this point in the history
  • Loading branch information
yash1378 committed Jan 27, 2024
1 parent 04e6644 commit fb83c9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/oppia_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ jobs:

- name: Remove Existing Volumes and Containers
run: |
docker-compose down -v
docker-compose rm -v
docker compose down -v
docker compose rm -v
- name: Build and Run Oppia Docker Compose
run: |
docker-compose build
docker-compose up angular-build -d
docker compose build
docker compose up angular-build -d
- name: Run docker Compose # Corrected the syntax here
run: |
docker-compose up -d
docker compose up -d
- name: Wait for Oppia to Start
run: |
echo "Oppia has started. Printing logs:"
docker-compose logs
docker compose logs
until $(curl --output /dev/null --silent --head --fail http://127.0.0.1:8181); do
echo "Waiting for Oppia to start..."
sleep 5
done
echo "Oppia has started. Printing logs:"
docker-compose logs
docker compose logs
- name: Stop Oppia Docker Compose
run: |
docker-compose down
docker compose down

0 comments on commit fb83c9f

Please sign in to comment.