Rachiid007 / TaalToolBox

TaalToolBox App est une application web et mobile axรฉe sur l'apprentissage des langues.
https://taaltoolbox.be
MIT License
7 stars 2 forks source link

๐Ÿงช๐Ÿš€ CI/CD Pipeline with GitHub Actions. #130

Closed Rachiid007 closed 1 year ago

Rachiid007 commented 1 year ago

๐Ÿ“ Description

This PR adds a CI/CD pipeline to the project using GitHub actions. On a push or pull request on the main branch, the pipeline will perform the following steps:

Other changes :wrench:

I deleted the testing.yml file as it is no longer needed and added the cicd.yml file to run the tests and if they pass, do the frontend build and if it passes also deploy the application to the GitHub pages and otherwise error! (I used the old testing.yml file as inspiration to create the new cicd.yml file).

I updated the README.md file to explain how a developer can configure the project to start working.

I also updated the vite.config.ts file and added a new base url for the application. Since GitHub pages will be used to deploy the application, the base url must be the name of the repository for this to work.

image