Skip to content

Commit

Permalink
Don't initialize db
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Oct 17, 2023
1 parent 7158d45 commit 7611088
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,11 @@ jobs:
# docker compose run --entrypoint /bin/bash prod env PGPASSWORD=postgres /usr/bin/psql -w -h postgres -U postgres -d postgres -c "SELECT 1"
# # docker compose run --entrypoint /bin/bash prod pg_isready -h postgres -p 5432 -d postgres -U postgres

- name: Initialize database
run: |
# docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.create_repos()'
# docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.migrate()'
docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.run_seeds()'
# - name: Initialize database
# run: |
# # docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.create_repos()'
# # docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.migrate()'
# docker compose run prod eval '${{ env.ELIXIR_MODULE }}.Release.run_seeds()'

- name: Run health check
run: curl -v http://localhost:${{ env.APP_PORT }}/healthz/liveness
Expand Down

0 comments on commit 7611088

Please sign in to comment.