contoso-real-estate
contoso-real-estate copied to clipboard
ci: add nightly codespace CI
To check if a service is running in codespaces, eg. the Portal API, we send a Curl HTTP request to the provided URL. If the service is up and running, we should get back a 200. When the service has not started yet, Codespaces returns 302.
Getting a 302 back seems to kill the whole process make the Github Action to stop and fail (see logs in screenshot). We need to investigate this.
I managed to fix the 302 issues we had. However, currently the Strapi service is not running properly. I need to investigate.
Currently, the PR is working as expected - but I'd like to be able to valid the full flow before we get it merged.