Your task is to add website deployment to the pipeline. Whenever there are changes to website directory and the commit is on the main branch the website should be deployed to the server.
The website is configured to be deployed to firebase, but you can choose any other hosting provider.
Here are instructions for how to use firebase. If you don't have firebase account, it may be easier to do the shorter version of the task - Task 5 - 2
- Whenever commit is committed to main branch, and there are changes to website directory, the website is deployed to the server.
- The deployment means copying all the files from website directory and uploading them to the server
- Credentials to the server are stored as secrets
Those hints will help you start
Here is an example solution for this task:
In this version do the PoC version of the task. Instead of actually deploying the website to the server, print the login and password that is stored in GitHub secrets.
- Whenever commit is committed to main branch, and there are changes to website directory, the content of website files is printed to the console
- Whenever commit is committed to main branch, and there are changes to website directory, the login and password is printed from the GitHub secrets.