The CI pipeline, defined in ci.yml is run automatically, when a pull request is opened or code is pushed to the main branch.
The CI process ensures the successful execution of frontend and backend tests. Currently, testing is performed locally as the project does not have a staging environment.
The project does not have a staging environment at this point. Testing is done locally.
Production deployment is done by cd.yml, which deploys to production each time a commit is pushed to the main branch.
Updated Docker images are pushed to Docker Hub into these repositories:
Watchtower updates the new images automatically to the instance running in Pouta. No need to do anything manually unless the app is not running in Pouta.
If the app is not running, log in to the Pouta with SSH and run command sudo docker compose up -d
. You can find more details in Pouta's documentation.